Reply feature in threads Gmail node

I have an n8n workflow that sends follow-up emails using Gmail when someone doesn’t reply to my messages.

The problem: When I use the “Reply” function in n8n, it automatically includes me as a recipient. So when the follow-up email gets sent, I receive a copy of it too.

What I want:

  • Send a follow-up email in the same Gmail thread if the person didn’t reply

  • Only send it to the original recipient (not to myself)

  • Keep everything in the same email thread

The question: How can I remove myself from receiving the follow-up email while keeping it in the same thread?

The problem using the “send” option is that it doesn’t send in the thread, always creates a new message.
If i use the “reply to sender only”, it will only send to me (because i was the sender of the last message of the thread)

help please

Hello, Welcome to n8n Community.

I’ve been go through your problem you follow this to resolve issue:

To avoid sending to yourself:

  1. Use “Send Emaii” not “Reply”.

  2. Pass the threadId of the original message in the parameters.

  3. Set the to field manually to the original recipient exclude your own email.

Hello, and thank you for your reply.

The problem is that i can’t add the threadid.
I don’t have a field for that (don’t know if it’s a problem of my self hosted n8n - Version 1.107.3)

Where should it be input?

Use operation reply instead of operation send, then you can give messageId field as input

@diogo_lobato did you find a solution for this? I am running into the same issue

I’m having the same problem lol. I put 10 hours into creating my own workflow and I just can’t figure this out. Did you fix it?

No, i’m still using the “send” option and sending every time new emails, not following the thread…

Same, I talked to support though and there’s no way to do this natively with the gmail node if the recipient didn’t reply to the prior email. If they did reply you can use the “Reply only to sender” setting, but it doesn’t work for our use case. I think the only way to do it would be calling the Gmail API with a webhook or something. If it’s just the clutter in your inbox that’s an issue, a filter worked for me so I don’t see the emails.

You hit the nail, Michael. I actually fixed it using a http request and a javacript code to translate the email into Json and raw input, It took a long time to debug but it works like a charm.

When using “reply” from the “thread” resource you can enable/disable an option to “Reply to Recipientes only”, this way you don’t receive a copy

I have the same problem, would love to see if anyone was able to solve this.