Actions13
Mailbox → Rename
AI-generatedOverview
This node operation allows renaming an existing mailbox in an IMAP email account. It is useful for organizing or restructuring mailboxes by changing their names. For example, a user can rename a mailbox from 'INBOX/OldName' to 'INBOX/NewName' to better reflect its contents or purpose.
Use Case Examples
- Renaming a mailbox named 'INBOX/OldProjects' to 'INBOX/ArchivedProjects' to keep the mailbox list organized.
- Changing the mailbox name from 'INBOX/Temp' to 'INBOX/Temporary' for clarity.
Properties
| Name | Meaning |
|---|---|
| Credential Type | Selects which credentials to use for the IMAP connection, 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 JSON output contains the result of the rename operation, typically including status or confirmation details.
Dependencies
- Requires IMAP credentials either from this node or from an N8N IMAP Trigger node to authenticate and perform mailbox operations.
Troubleshooting
- Connection failures due to incorrect IMAP 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 the mailbox path is correct and the new name follows IMAP naming rules.
- Operation failures if the IMAP server does not support mailbox renaming or if permissions are insufficient. Check server capabilities and user permissions.