Actions39
- Email Actions
- Mailbox Actions
Overview
This node operation copies one or multiple emails from a source mailbox to a destination mailbox using the IMAP protocol. It is useful for organizing emails by moving or duplicating them between folders within the same email account. For example, you can copy important emails from the inbox to a project-specific folder automatically.
Use Case Examples
- Copy an email with a specific UID from the INBOX to a 'Processed' folder.
- Copy multiple emails by specifying a comma-separated list of UIDs from one mailbox to another.
Properties
| Name | Meaning |
|---|---|
| Credential Type | Selects which IMAP credentials to use for authentication, either from this node or from an existing N8N IMAP Trigger node. |
| Source Mailbox | The mailbox folder from which the email(s) will be copied. Can be selected from a list or specified by path. |
| Email UID | The unique identifier(s) of the email(s) to copy. Supports a comma-separated list to copy multiple emails at once. |
| Destination Mailbox | The mailbox folder to which the email(s) will be copied. Can be selected from a list or specified by path. |
Output
JSON
json- The copied email data or operation result for each processed email.
Dependencies
- Requires IMAP credentials for authentication, either provided directly in the node or via an existing IMAP Trigger node's credentials.
Troubleshooting
- Connection failures due to incorrect IMAP credentials or network issues. Verify credentials and network connectivity.
- Errors related to invalid mailbox names or paths. Ensure the source and destination mailboxes exist and are correctly specified.
- Operation failures if the specified email UID(s) do not exist in the source mailbox. Confirm the UIDs are correct and accessible.
- If the node is set to continue on fail, errors for individual emails will be output as error objects in the result; otherwise, the node execution will stop on the first error.