IMAP icon

IMAP

Retrieve emails via IMAP

Mailbox → Get Quota

AI-generated

Overview

This node operation retrieves the quota information of a specified mailbox via the IMAP protocol. It is useful for scenarios where users need to monitor mailbox storage usage or enforce storage limits. For example, an email administrator can use this operation to check the quota of the INBOX or any other mailbox folder to ensure it does not exceed allocated limits.

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 efficiently.

Properties

Name Meaning
Credential Type Selects the type of credentials to use for IMAP authentication, either credentials 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
    • limit - The maximum storage limit of the mailbox.
    • usage - The current storage usage of the mailbox.

Dependencies

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

Troubleshooting

  • Connection failures due to incorrect IMAP credentials or network issues. Verify credentials and network connectivity.
  • Errors indicating unknown operations or resources suggest misconfiguration of the node parameters.
  • Quota retrieval may fail if the email provider does not support per-folder quotas or if the mailbox path is incorrect.

Discussion