Email infrastructure for AI agents with a REST API for retrieving message counts from a mailbox.

API

What your agent can do

  • Returns the total number of messages in the specified mailbox.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection
API path
https://api.devinbox.io/messages/a1b2c3d4e5f6/count

Authentication
X-Api-Key: your_api_key_here

Documentation & experience

  • 1 of 1 connection paths checked
  • Latest documentation check 11 Oct 2026
View sources and checks
How documentation is checked