Skip to main content
Glama

MCP Email Server

by ai-zerolab
BSD 3-Clause
67
  • Apple
  • Linux

page_email

Retrieve and paginate emails from an account using page numbers, date filters, and search criteria. Manage email data efficiently with customizable page size and sorting options.

Instructions

Paginate emails, page start at 1, before and since as UTC datetime.

Input Schema

NameRequiredDescriptionDefault
account_nameYesThe name of the email account.
beforeNoRetrieve emails before this datetime (UTC).
bodyNoFilter emails by body.
from_addressNoFilter emails by sender address.
orderNoOrder emails by field. `asc` or `desc`.desc
pageNoThe page number to retrieve (starting from 1).
page_sizeNoThe number of emails to retrieve per page.
sinceNoRetrieve emails since this datetime (UTC).
subjectNoFilter emails by subject.
textNoFilter emails by text.
to_addressNoFilter emails by recipient address.

Input Schema (JSON Schema)

{ "properties": { "account_name": { "description": "The name of the email account.", "title": "Account Name", "type": "string" }, "before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "description": "Retrieve emails before this datetime (UTC).", "title": "Before" }, "body": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter emails by body.", "title": "Body" }, "from_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter emails by sender address.", "title": "From Address" }, "order": { "default": "desc", "description": "Order emails by field. `asc` or `desc`.", "enum": [ "asc", "desc" ], "title": "Order", "type": "string" }, "page": { "default": 1, "description": "The page number to retrieve (starting from 1).", "title": "Page", "type": "integer" }, "page_size": { "default": 10, "description": "The number of emails to retrieve per page.", "title": "Page Size", "type": "integer" }, "since": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "description": "Retrieve emails since this datetime (UTC).", "title": "Since" }, "subject": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter emails by subject.", "title": "Subject" }, "text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter emails by text.", "title": "Text" }, "to_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter emails by recipient address.", "title": "To Address" } }, "required": [ "account_name" ], "title": "page_emailArguments", "type": "object" }
Install Server

Other Tools from MCP Email Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-zerolab/mcp-email-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server