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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||