Description
n8n-nodes-fastmail
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
This package provides:
Fastmailfor structured actions on messages, labels, drafts, and threads.Fastmail Triggerfor near real-time new-message events via JMAP event stream (SSE with reconnect).- Add label to message
- Delete a message
- Forward a message
- Get a message
- Get many messages
- Mark a message as read
- Mark a message as unread
- Move a message
- Remove label from message
- Reply to a message
- Send a message
- Upload from input binary properties on:
- Download to output binary on:
- Create a label
- Delete a label
- Get label info
- Get many labels
- Create a draft
- Delete a draft
- Get a draft
- Get many drafts
- Add label to thread
- Delete a thread
- Get a thread
- Get many threads
- Remove label from thread
- Reply to a message
- Trash a thread
- Untrash a thread
- Labels (mapped to Fastmail mailboxes)
- Identities
- Optional fields are hidden by default.
- Reply and forward operations expose per-field auto-fill toggles.
- Use
Compose Optionsto enable granular fields likeCc,Bcc,Reply All,Create as Draft, and attachment binary mapping. - Use
Fetch Optionsto enable granular fields likeSearch,Read Status, body values, and attachment download settings. Mailbox Scopeand mailbox selection stay as dedicated top-level fields onGet Many(message/thread) for reliable mailbox picking.- Invalid option combinations are rejected with explicit errors (for example,
Reply Alloutside auto-filled reply operations orCreate as Draftoutside reply/forward operations). - Toggle constant:
- Current default:
false(API token mode only) - Set to
trueto expose authentication switch (API Token/OAuth2) in the nodes. - Credential type:
Fastmail OAuth2 API - Authorization URL:
https://www.fastmail.com/oauth/authorize - Token URL:
https://www.fastmail.com/oauth/token - Default scopes:
offline_access urn:ietf:params:jmap:core urn:ietf:params:jmap:mail urn:ietf:params:jmap:submission - Fastmail Developer OAuth docs: fastmail.com/dev
- n8n 2.11.0
- n8n community nodes documentation
- Fastmail Developer API
- JMAP (RFC 8620)
- JMAP Mail (RFC 8621)
- Node icon source:
Fastmailicon2019.svgfrom Wikimedia Commons. - Wikimedia marks this file as
PD-textlogo(public domain for copyright in many jurisdictions). - Fastmail name and logo may still be protected by trademark rights.
- Users are responsible for confirming trademark and branding permissions for their use case.
Message Actions
Attachment Support
Attachments are supported as options on existing operations (not as separate actions):
– Message Send
– Message Forward
– Message Reply
– Draft Create
– Thread Reply
– Message Get
– Message Get Many
Label Actions
Draft Actions
Thread Actions
Live options
The node fetches available Fastmail data directly for dropdowns:
UI behavior
Each toggle keeps the current automatic behavior when enabled and reveals the corresponding manual field only when disabled.
Credentials
Use a Fastmail API token with the required scopes for the JMAP methods you call.
OAuth2 readiness
OAuth2 support is prepared in code and can be enabled with a simple toggle.
– nodes/fastmail/Fastmail.node.ts -> ENABLEFASTMAILOAUTH
– nodes/fastmail/FastmailTrigger.node.ts -> ENABLEFASTMAILOAUTH
Implemented OAuth2 credential:
Reference:
Compatibility
Tested with:
Resources
Icon Attribution
Local development (Docker)
Use the helper script:
./testdata/run.sh
The script starts a node:22-slim container, installs dependencies, builds the node, installs n8n, and starts it on http://localhost:5678.
Local test run (simple Docker setup):
./testdata/run.sh
Prerequisite (once): run npm ci in the project root.
The script builds dist, prepares a clean custom package under .testdata/custom, and starts n8nio/n8n.