Maybe the last email that the Gmail trigger fetched already contains the n8n text,
Try remove that email, unpin the pinned data in the Gmail trigger, and try again..
That’s all I can see from your screenshot…
Maybe the last email that the Gmail trigger fetched already contains the n8n text,
Try remove that email, unpin the pinned data in the Gmail trigger, and try again..
That’s all I can see from your screenshot…
Hey @HFB,
If you have 2 unread emails in your inbox, the workflow will be triggered with 2 items.
Check in the execution history if 2 items were sent by the trigger.
Regarding the email footer…I don’t have any further recommendations beside backing up the workflows and setting up a new instance.
@HFB I ran into this same issue, and got it resolved. It’s a mouthful, but Claude helped fix it, and what was done. Hope this help.
Definitive fix for self-hosted n8n — Gmail “sent automatically with n8n” footer
The Append n8n Attribution toggle in the Gmail node options does not work reliably, especially for Gmail Tool nodes used in AI Agent/MCP workflows. Even when set to false, the footer
still appears.
Root cause (n8n v1.76+):
In GmailV2.node.js, the send operation has this logic:
let appendAttribution = options.appendAttribution;
if (appendAttribution === undefined) {
appendAttribution = nodeVersion >= 2.1; // defaults to TRUE when undefined
}
When Gmail is used as a Tool node (e.g., in AI Agent workflows), the options.appendAttribution value isn’t always passed through correctly, causing it to fall back to true for any node
version >= 2.1.
Additionally, the reply operation delegates to replyToEmail.js, which calls prepareEmailBody() without passing the appendAttribution flag at all — completely ignoring the user’s
setting.
Fix (self-hosted only):
docker exec n8n find /usr/local/lib/node_modules/n8n -name “GenericFunctions.js” -path “/Google/Gmail/”
docker cp n8n:<full_path>/GenericFunctions.js ./patches/GenericFunctions.js
if (appendAttribution) {
to:
if (false) {
services:
n8n:
volumes:
Caveats:
Tested on n8n v1.76+ with Gmail Tool nodes (n8n-nodes-base.gmailTool) in MCP/AI Agent workflows.