n8n

The SMTPfast node for n8n sends email, manages contacts and segments, and reads the status of your sending domains. The SMTPfast Trigger node starts a workflow when SMTPfast sends a webhook event, for example a bounce. n8n verified the node, so you can add it on n8n Cloud and on self-hosted n8n. The package is @smtpfast/n8n-nodes-smtpfast and the source is on GitHub under MIT.

Install the node

#

n8n Cloud. SMTPfast is a verified community node, so it shows in the nodes panel. You do not type a package name.

  1. On the canvas, open the nodes panel with +.
  2. Search for SMTPfast. It shows under More from the community.
  3. Select it and select Install. All members of the instance can then use it.

Only the instance owner or an admin can install it. If SMTPfast does not show, check that Verified community nodes is on in the instance settings of the n8n Cloud console. See n8n's verified node install guide.

Self-hosted n8n. Use the nodes panel as above, or install the package by name:

  1. Go to Settings > Community Nodes.
  2. Select Install.
  3. Enter @smtpfast/n8n-nodes-smtpfast and confirm.

The package has no runtime dependencies. It was tested with n8n 2.48.7 on Node.js 24.

Create an API key

#

The node uses one credential, SMTPfast API. It sends an API key as a Bearer token. In the dashboard, open API Keys and create a key with only the scopes your workflows use:

FeatureScopes
Email: Sendemail:send
Email: Getemail:read
Contact: Get, Get Many, the segment listcontact:read
Contact: Create, Create or Update, Update, Delete, Add to Segment, Remove From Segmentcontact:write
Domain: Get, Get Manydomain:read
SMTPfast Triggerwebhook:read, webhook:write

In n8n, create an SMTPfast API credential and paste the key. n8n tests it with GET /v1/me, which needs no scope. Use a separate key for n8n, so you can revoke it without a change to your apps.

Send your first email

#

You need a verified sending domain. Every send must come from it.

  1. Add a Manual Trigger node, then an SMTPfast node.
  2. Set Resource to Email and Operation to Send.
  3. Set From to an address on your verified domain. A display name is allowed, as in Acme <[email protected]>.
  4. Set To to [email protected], and add a subject and a body.
  5. Select Execute workflow. The output has the email id.
  6. Add a second SMTPfast node with Email: Get and the ID {{ $json.id }} to see the status.

SMTPfast refuses recipients on domains for documentation and tests, such as example.com. To test, send to the Amazon SES mailbox simulator: [email protected] ends as delivered and [email protected] as bounced.

Category. The Send operation has a Category field. The default is Marketing, which adds a one-click unsubscribe header and skips unsubscribed addresses. Select Transactional only for mail the recipient needs because of an action or an account, such as receipts and password resets. In fixed mode, {{unsubscribe_url}} in the HTML body inserts the unsubscribe link. In expression mode, n8n reads {{ }} as an expression, so keep a body with that link in fixed mode.

Under Additional Fields you can also set CC, BCC, Reply To, attachments from binary data (up to 10 files and 25 MB per email), tags, custom headers, Scheduled At, Track Clicks, Track Opens and an Idempotency Key. When an Idempotency Key comes again with the same body within 24 hours, SMTPfast returns the first result and does not send again. This is useful for triggers that can deliver the same event two times.

One email per item

#

The Send operation makes one API call, and so one email, for each input item. All addresses in To, CC and BCC on that item go on the same email, and every recipient sees the To and CC addresses.

To send a separate email to each person, give each person their own item first, for example with the Split Out node. Each output item is paired with the input item that made it, so a later node can read the email ID of each send.

Contacts and domains

#
ResourceOperations
EmailSend, Get
ContactCreate, Create or Update, Update, Get, Get Many, Delete, Add to Segment, Remove From Segment
DomainGet, Get Many (read-only)
  • Where the node asks for a contact, you can give the contact ID or the email address.
  • Create fails with 409 when the address exists. Create or Update does not: fields you send replace the stored ones, fields you leave out stay, and segments are only added.
  • Update with segments replaces all manual segments of the contact. To add one segment, use Add to Segment.
  • Custom properties must exist in SMTPfast before you set them. See Contacts.

Start a workflow from an event

#

The SMTPfast Trigger node starts a workflow when SMTPfast sends a webhook event. Select the events in Events:

GroupEvents
EmailSent, Delivered, Delivery Delayed, Bounced, Complained, Opened, Clicked, Failed, Suppressed, Unsubscribed, Scheduled, Received
ContactCreated, Updated, Deleted, Subscribed
DomainCreated, Updated, Deleted
InboxEmail Received, Thread Assigned, Thread Unassigned
  • When you activate the workflow, the node creates a webhook in SMTPfast for the n8n URL and the selected events. When you deactivate it, the node deletes that webhook. The editor's test URL gets its own webhook, so a test does not touch the production webhook.
  • The node checks the X-SMTPfast-Signature header on every request. A request with a missing or wrong signature gets a 401 and does not start the workflow.
  • SMTPfast only sends webhooks to a public HTTPS URL on port 443. An n8n on http://localhost:5678 cannot receive them. Set WEBHOOK_URL on your n8n to its public https:// address, or use a tunnel. n8n Cloud URLs work as they are.
  • The API key needs webhook:read and webhook:write.

The output item is the event as SMTPfast sends it, with type, timestamp and data. A bounce looks like this:

json
{
  "type": "email.bounced",
  "timestamp": "2026-12-04T08:00:00.000Z",
  "data": {
    "email_id": "email_abc123",
    "from": "[email protected]",
    "to": ["[email protected]"],
    "bounce_type": "Permanent",
    "bounce_sub_type": "General",
    "refused_by_account_suppression_list": false,
    "bounced_recipients": ["[email protected]"]
  }
}

For a Slack or Discord message on every event, you do not need n8n: a webhook in SMTPfast can post to a Slack or Discord URL directly. Use the trigger when you want to filter events, write them to a sheet or a database, or start more steps.

Examples

#