Skip to main content

Masked email management for Fastmail

Workflow preview

Workflow preview
100%
Masked email management for Fastmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Template Description This n8n workflow is designed to manage Fastmail masked email addresses using the Fastmail API. The workflow provides the following functionalities: 1. Retrieve all masked emai...

Best for

  • Personal Productivity automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.respondtowebhook, n8n-nodes-base.switch, n8n-nodes-base.set, n8n-nodes-base.html, n8n-nodes-base.webhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Vitali.

Original n8n.io source

1.1 Workflow description

Title
Masked email management for Fastmail
Workflow name
Masked email management for Fastmail

Template Description

This n8n workflow is designed to manage Fastmail masked email addresses using the Fastmail API. The workflow provides the following functionalities:

  1. Retrieve all masked emails: Fetches all masked email addresses associated with the Fastmail account.
  2. Create masked email: Allows creating a new masked email with a specified state (pending, enabled, etc.).
  3. Update masked email state: Updates the state of a masked email such as enabling, disabling, or deleting it.
  4. Generate HTML template: Constructs an HTML table to display the masked emails in a user-friendly format.

Steps to Make it Work

  1. Webhook Node:

    • This node listens for incoming requests to manage masked emails.
    • Needs Basic Authentication credentials to secure the endpoint.
  2. Session Node:

    • Sends a request to obtain session information from Fastmail's API.
    • Requires an HTTP Header Auth credential with your Fastmail API token.
  3. Switch Node:

    • Routes the workflow based on the state of the incoming masked email request (pending, enabled, disabled, deleted).
  4. HTTP Request Nodes:

    • These nodes handle various Fastmail API calls for masked emails (get, set, update, delete).
    • All HTTP Request nodes require an HTTP Header Auth credential attached, using the Fastmail API token.
  5. Set Node:

    • Gathers the retrieved masked email list into an array for further processing.
  6. HTML Node:

    • Generates an HTML template to render the masked email addresses in a table format.
  7. Respond to Webhook Node:

    • Sends back the HTML table to the client in response to the webhook request.

Needed Credentials

  1. Fastmail Masked E-Mail Addresses:
    • An API token from Fastmail's API.
    • Each HTTP call to Fastmail requires this credential for authentication.

Note

  • Ensure that you correctly configure authentication for the API calls and webhook security.
  • Use your actual Fastmail API credentials with the correct scope.
  • The workflow assumes that the Fastmail API is correctly configured and accessible from your n8n instance.
  • Update URLs and credentials IDs according to your n8n configuration.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Session

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - get all masked emails

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - create random masked email

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 5 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 6 - disabled

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - delete

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - gather masked email list

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - create html template

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 10 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Masked email management for Fastmail
Complexity intermediate
Nodes 11
Categories Personal Productivity
Author Vitali
Published 02 Oct 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2448/2448.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Masked email management for Fastmail do?

Template Description This n8n workflow is designed to manage Fastmail masked email addresses using the Fastmail API. The workflow provides the following functionalities: 1. Retrieve all masked emai...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.