Does anyone know if there are any differences in the headers or bodies of messages sent via GmailApp vs. the Gmail client? If so, then what are these differences?
Here's the context for my question:
I've been using GmailApp thread.reply with great success for a long-time, but am having a weird issue now.
A third-party service provider (which I prefer not to name) sends me transactional emails that land in my Gmail inbox. When I hit reply in the Gmail client, the service provider has no issues accepting my replies.
However, when I'm using thread.reply() to auto-respond to these messages, the provider sends me a response it can't accept my reply because I may be using an email client that this provider doesn't support.
I tried to research this error and couldn't find anything meaningful. I will try to contact the provider for clarifications, but I was wondering if you knew what could be different in the message headers or in the body of GmailApp vs the Gmail client.
My code is simply:
const thread = GmailApp.getThreadById(threadId);
const body = 'hello';
thread.reply(body);
Thank you,
Ben