ManualTrigger Automate

For Fastmail, this manual workflow retrieves your mailbox and account details, then fetches the three most recent unread emails, streamlining email management and enhancing productivity.

7/8/2025
7 nodes
Simple
manualsimplesticky noteapiintegration
Categories:
Manual TriggeredSimple Workflow
Integrations:
Sticky Note

Target Audience

This workflow is ideal for:
- Email Users: Individuals who manage multiple email accounts and want to keep track of unread messages efficiently.
- Developers: Those who are integrating Fastmail's JMAP API into their applications and require a streamlined method to fetch mailbox details and unread emails.
- Productivity Enthusiasts: Users looking to automate their email management processes to save time and enhance productivity.

Problem Solved

This workflow addresses the challenge of managing unread emails across various mailboxes. It automates the process of fetching mailbox IDs and unread messages, allowing users to quickly access important emails without manually checking each mailbox. This leads to increased efficiency and reduced time spent on email management.

Workflow Steps

  • Manual Trigger: The workflow begins when the user clicks the "Execute Workflow" button.
    2. Fetch API Details: It retrieves the necessary session details from the Fastmail API, establishing a connection to the user's account.
    3. Get Mailboxes: The workflow sends a request to fetch all available mailboxes associated with the user's account.
    4. Format Results: It processes the response to extract the account ID and the inbox mailbox ID, which are essential for querying unread messages.
    5. Get Unread Messages: A request is sent to the Fastmail API to fetch the latest 3 unread messages from the inbox, sorted by the received date.
    6. Sticky Notes: Two sticky notes provide additional context and information about the workflow, including tips on improving performance and credential management.
  • Customization Guide

    Users can customize this workflow by:
    - Adjusting the number of unread messages fetched by changing the limit parameter in the Get Unread Messages node.
    - Modifying the filter criteria in the Email/query method to include or exclude specific keywords or mailboxes.
    - Adding additional nodes to perform actions on the fetched emails, such as sending notifications or archiving messages.
    - Updating the Sticky Note content to include personalized tips or reminders relevant to their email management processes.