npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-fastmail

v0.3.2

Published

This Fastmail node for n8n is designed to set parameters and execute specific operations for the Fastmail API.

Downloads

568

Readme

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:

  • Fastmail for structured actions on messages, labels, drafts, and threads.
  • Fastmail Trigger for near real-time new-message events via JMAP event stream (SSE with reconnect).

Message Actions

  • Add label to message
  • Delete a message
  • Get a message
  • Get many messages
  • Mark a message as read
  • Mark a message as unread
  • Remove label from message
  • Reply to a message
  • Send a message

Attachment Support

Attachments are supported as options on existing operations (not as separate actions):

  • Upload from input binary properties on:
    • Message Send
    • Message Reply
    • Draft Create
    • Thread Reply
  • Download to output binary on:
    • Message Get
    • Message Get Many

Label Actions

  • Create a label
  • Delete a label
  • Get label info
  • Get many labels

Draft Actions

  • Create a draft
  • Delete a draft
  • Get a draft
  • Get many drafts

Thread Actions

  • 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

Live options

The node fetches available Fastmail data directly for dropdowns:

  • Labels (mapped to Fastmail mailboxes)
  • Identities

UI behavior

  • Optional fields are hidden by default.
  • Use Compose Options to enable granular fields like Cc, Bcc, Reply All, and attachment binary mapping.
  • Use Fetch Options to enable granular fields like Search, Read Status, body values, and attachment download settings.
  • Mailbox Scope and mailbox selection stay as dedicated top-level fields on Get Many (message/thread) for reliable mailbox picking.
  • Invalid option combinations are rejected with explicit errors (for example, Reply All outside reply operations).

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.

  • Toggle constant:
    • nodes/fastmail/Fastmail.node.ts -> ENABLE_FASTMAIL_OAUTH
    • nodes/fastmail/FastmailTrigger.node.ts -> ENABLE_FASTMAIL_OAUTH
  • Current default: false (API token mode only)
  • Set to true to expose authentication switch (API Token / OAuth2) in the nodes.

Implemented OAuth2 credential:

  • 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

Reference:

Compatibility

Tested with:

  • n8n 2.11.0

Resources

Icon Attribution

  • Node icon source: Fastmail_icon_2019.svg from 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.

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.