Turn labeled emails into ready to send drafts in Gmail. The flow scans your inbox on a schedule, reads the newest message in each labeled thread, and writes a helpful reply with an AI assistant. Ideal for support and sales inboxes that need fast, consistent first responses.
A minute based trigger starts the run. Gmail nodes find threads with a chosen label and fetch only the last message, so AI context stays relevant. The message goes to an OpenAI Assistant, which returns a Markdown reply. The flow converts Markdown to HTML, builds an RFC 822 email, encodes it to base64, and creates a draft in the same thread. The label is then removed to prevent a second pass.
Set up Gmail OAuth and an OpenAI API key, then pick the label to watch. Expect faster replies and less typing while agents keep full control by reviewing drafts before sending. Use it for support queues, lead intake, and shared inboxes that need a steady tone and quick follow up.