Email is going to the wrong person

I have a form. I know the buyer email and I know the seller email based on previous messages, after entering a new message and clicking “submit” - I want the opposite user to get the email. In other words, if the buyer is submitting it goes to the seller. I have the opposite seller in the table also based on an if statment. I’m using the gmail integration and have it set to send to the opposite email. However, the email always goes to the seller email. If the seller submit a message, they get a gmail email notification which makes no sense. Any thoughts here?

You’re probably sending the email before the IF column kicks in. If you are writing the recipients email to the table, I would think you can use that column instead of the IF column.

I think you’re exactly right. But I don’t know who is messaging who until it’s posted…for example, the seller could send two straight messages.

How would that be different than the IF column? How does it know who is who. I assume you are sending the email via an On Submit action. Aren’t you already writing the emails of each user into different columns?

1 Like

How about adding a wait action to wait for like 3 seconds?

2 Likes

You’ve been so helpful I want to tell that this does work. The gmail action is after the submit. Because I used html markup, it was going to spam. I removed the html markup and it no longer goes to spam. Thanks for your help on my many questions

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.