About this project

The @mcp-z/email package is a toolkit designed to streamline email processing and integration across different providers like Gmail and Outlook. It provides a set of utilities to normalize messages into a shared format and handle common email-related tasks. Key capabilities include: - Address Management: Parsing and formatting email addresses. - Content Processing: Stripping HTML from threads, extracting the current message from HTML or plain text, and cleaning text content. - Data Normalization: Converting dates to ISO format and decoding base64 URLs. - Schema Definitions: Providing base query fields, tool input schemas (such as recipient and content type schemas), and response helpers using Zod. - Integration Helpers: Shared constants for email fields, descriptions, and common patterns to maintain consistency across different email providers.