See llms.txt for all machine-readable content.
This workflow automatically runs when a new email is received in the user's Gmail account. It sends the email content to OpenAI (GPT-4.1-mini), which intelligently determines whether the message requires action. If the email is identified as actionable, the workflow sends a structured alert message to the user in Microsoft Teams. This keeps the user informed of high-priority emails in real time without the need to manually check every message. The workflow does not log any execution data, ensuring that email content remains secure and unreadable by others.

Body{
"type": "object",
"properties": {
"from": {
"type": "string"
},
"receivedAt": {
"type": "string"
},
"subject": {
"type": "string"
},
"message": {
"type": "string"
}
}
}


<p>Hello @{outputs('Get_an_@mention_token_for_a_user')?['body/atMention']},</p>
<p><br>
You have received a new email at your email address <span>@{body('Parse_JSON')?['recipientEmail']}</span> that requires your attention:<br>
</p>
<p><br>
<strong>From: </strong>@{body('Parse_JSON')?['sender']}<strong><br>
Received On: </strong>@{body('Parse_JSON')?['date']}<strong><br>
Subject:</strong> @{body('Parse_JSON')?['subject']}</p>
<p><br>
Please review the message at your earliest convenience.<br>
Click <a href>here</a> to search this mail in your mailbox</p>
</p>

Need help with the setup? Feel free to contact us
Follow the n8n documentation to complete the setup.
Follow the n8n documentation to complete the setup.
To ensure that email content is not stored in logs and remains fully secure, you can disable execution logging in n8n:
In the n8n Workflow Editor, click on the three dots (•••) in the top right corner and select Settings.
In the settings panel:
Do not saveDo not saveDo not save if you also want to avoid logging errorsSave the changes.
Refer to the official n8n documentation for more details:
Need Help? Contact us for support and custom workflow development.