IMAP icon

IMAP

Retrieve emails via IMAP

Overview

This node connects to an IMAP email server to retrieve the quota information of a specified mailbox. It is useful for monitoring mailbox storage usage, especially when managing email accounts with storage limits. For example, it can be used to check the quota of the INBOX or any other folder to ensure the mailbox does not exceed its storage capacity.

Use Case Examples

  1. Check the quota of the INBOX mailbox to monitor storage usage.
  2. Retrieve quota information for a specific mailbox folder to manage email storage limits.

Properties

Name Meaning
Credential Type Selects the type of credentials to use for IMAP authentication, either from this node or from an existing N8N IMAP Trigger node.
Mailbox Specifies the mailbox path to retrieve the quota for. Defaults to INBOX but can be set to any mailbox path supported by the email provider.

Output

JSON

  • quota
    • used - The amount of storage used in the mailbox.
    • limit - The total storage limit of the mailbox.
    • units - The units of measurement for the quota values, e.g., bytes, kilobytes.

Dependencies

  • Requires IMAP credentials for authentication, either provided directly in the node or via an existing IMAP Trigger node.

Troubleshooting

  • Connection failures due to incorrect IMAP credentials or server settings. Verify credentials and server details.
  • Errors related to unsupported mailbox paths or quota retrieval by the email provider. Ensure the mailbox path is correct and the provider supports per-folder quotas.
  • General IMAP connection errors which may require checking network connectivity and IMAP server availability.

Discussion