Skip to main content
Glama

get_email_count

Retrieve the total number of messages in your Gmail account and count of emails in your inbox. Use this tool to monitor email volume and manage your inbox effectively.

Instructions

Get the count of emails in the user's inbox. This tool retrieves the total number of messages in the user's Gmail account and the number of messages in the inbox. Prerequisites: - The user must be authenticated. Check auth://status resource first. - If not authenticated, guide the user through the authentication process. Returns: Dict[str, Any]: The email count information including: - email: The user's email address - total_messages: Total number of messages in the account - inbox_messages: Number of messages in the inbox - next_page_token: Token for pagination (if applicable) Example usage: 1. First check authentication: access auth://status resource 2. If authenticated, call get_email_count() 3. If not authenticated, guide user to authenticate first

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Latest Blog Posts

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/bastienchabal/gmail-mcp'

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