Back to Templates

Send Standardized Alert Emails via Gmail with Custom Subject and Content

Created by

Created by: Kevin || mieubrisse

Kevin

Last update

Last update 13 hours ago

Share


This is a basic helper workflow to abstract the process of sending an alert email through Gmail.

It takes in two parameters:

  • Subject
  • Lines (as an array of lines)

You'll also need to fill in your email.

Notably, all emails it sends have ❗ n8n Alert: prefixed to the subject line, which makes them easy to identify and highlight in an email inbox.

In Gmail, this can be done by starring all messages that come in with ❗ n8n Alert: in the subject line, then using the Priority Inbox to push starreed messages to the top.

It's important to star the message rather than Mark As Important, because Gmail refuses to mark emails sent by automation as important.