How do you prevent duplicate invoice emails after an ambiguous Gmail timeout in n8n?

Short answer Do not treat every timeout as a confirmed failure. Gmail may accept a message and the workflow may lose the response before it records SENT. Automatically resetting that invoice to READY can send it twice. A safer row-level state flow 1.

Posted in the n8n Builders group of the Automation Workflows community on August 9, 2026.