Draft email using chat GPT and Google Mail

Describe the issue/error/question

How would you update this to only create a draft email for the inbound email?

Please share the workflow

Information on your n8n setup

  • n8n version: 0.220.0
  • Database you’re using (default: SQLite): SQLight
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: docker

Hi @yelsew, you can create draft emails using the Draft resource and Create operation:

image

This operation wouldn’t take a " Message ID" parameter though, so it would appear as a new draft message rather than as a reply in your Gmail account.

Hey hey - I was trying to see if I can draft a reply to the same email/thread

That way I can adapt and change the email as needed before sending

This sounds like a useful feature and I can see you’ve already suggested this. In the meantime, you could consider directly using the respective Gmail API endpoint through the HTTP Request node to create your draft with the required options.