IMAP Manager
Manage mail via IMAP (works with IONOS or any IMAP server): search, add keywords, move, copy, delete
Actions8
Overview
This node, named IMAP Manager, allows users to manage emails on an IMAP server by performing various operations such as adding keywords (tags) to messages, searching messages by their RFC822 Message-ID, moving, copying, deleting messages, and marking messages as unread. It is useful for automating email management tasks, for example, tagging emails with custom labels, organizing emails into folders, or cleaning up mailboxes automatically.
Use Case Examples
- Automatically add custom tags to emails based on certain criteria to improve email categorization.
- Move emails from the inbox to specific folders based on their content or sender.
- Search for emails by their unique Message-ID to retrieve or process specific messages.
- Mark emails as unread to flag them for follow-up.
Properties
| Name | Meaning |
|---|---|
| Mailbox | The mailbox (folder) where the email message is located, e.g., INBOX. |
| UID | The unique identifier of the email message within the mailbox to target for operations like adding keywords or moving. |
| Keywords (comma separated) | A comma-separated list of keywords (tags) to add or remove from the email message. |
Output
JSON
mailbox- The mailbox (folder) involved in the operation.uid- The unique identifier of the email message involved in the operation.operation- The operation performed, e.g., addKeywords, removeKeywords.keywords- The list of keywords added or removed from the message.
Dependencies
- An IMAP server connection using credentials (host, port, user, password, secure).
Troubleshooting
- Ensure the UID and mailbox parameters are correctly specified; missing or invalid values will cause errors.
- Keywords must be provided when adding or removing tags; empty keyword lists will cause errors.
- If moving or copying messages to a mailbox that does not exist, enable the option to create the mailbox or handle errors accordingly.
- Connection issues with the IMAP server may cause failures; verify credentials and network connectivity.
Links
- ImapFlow Library - The underlying IMAP client library used for managing IMAP operations.