Actions13
Overview
This node operation allows renaming an existing mailbox in an IMAP email account. It connects to the IMAP server using provided credentials, selects the mailbox to rename, and changes its name to the specified new name. This is useful for organizing mailboxes or correcting mailbox names in email accounts accessed via IMAP.
Use Case Examples
- Renaming a mailbox from 'INBOX/OldName' to 'INBOX/NewName' to better reflect its contents.
- Correcting a typo in a mailbox name on an IMAP server.
Properties
| Name | Meaning |
|---|---|
| Credential Type | Selects which credentials to use for connecting to the IMAP server, either credentials from this node or from an existing N8N IMAP Trigger node. |
| Mailbox | The mailbox to rename. Can be selected from a list of mailboxes or specified by full path. |
| New Mailbox Name | The new name to assign to the selected mailbox. |
Output
JSON
json- The result of the rename operation, typically including success confirmation or error details.
Dependencies
- Requires IMAP server credentials, either provided directly or via an existing IMAP Trigger node.
Troubleshooting
- Connection failures due to incorrect credentials or network issues. Verify credentials and network connectivity.
- Errors if the specified mailbox does not exist or the new mailbox name is invalid. Ensure mailbox paths are correct and new name follows IMAP server naming rules.
- Operation failures if the IMAP server does not support mailbox renaming or if permissions are insufficient.
Links
- IMAP RFC 3501 - RENAME Command - Official specification of the IMAP RENAME command used to rename mailboxes.