MailMasker API
Claude Code
Users and roles

See an account's mail usage

GET/api/v1/admin/mail-usage

Who can use this: Site adminsAs Markdown

The bytes and messages in the account's mailbox, and its limit: its own if one is set, otherwise the 1 TB default (1099511627776 bytes). The mail server sends fresh figures each time the mailbox changes, so an account whose mailbox hasn't changed since that began shows null for both until it next does.

Parameters

NameWhereWhat it is
user_email required query The account's address, exactly as the account has it.e.g. alice@example.com

Good to know

  • An address with no account still answers, with null figures and the default limit.
  • An address without an @ answers 400.