Skip to main content

Module errors

Module errors 

Source
Expand description

Gmail MCP Server Implementation

This crate provides an MCP (Model Completion Protocol) server for Gmail, allowing Claude to read emails from a Gmail account, search for contacts, and manage calendar events.

§Features

  • List emails from inbox
  • Search emails using Gmail search queries
  • Get details for a specific email
  • List email labels
  • Search for contacts
  • List calendar events
  • Create calendar events
  • Check connection status

§Testing

The crate includes unit tests for internal functions and integration tests for testing the MCP commands. Future improvements could include more sophisticated mocking of the API endpoints and more comprehensive tests.

Modules§

error_codes
MCP error codes for different error scenarios

Enums§

AppError
General application errors
CalendarApiError
Error type for Calendar API operations
ConfigError
Error type for configuration issues
GmailApiError
Error type for Gmail API operations
PeopleApiError
Error type for People API operations

Type Aliases§

CalendarResult
Type alias for Calendar API results
GmailResult
Type alias for Gmail API results
PeopleResult
Type alias for People API results