Labsco
ZilongXue logo

ClaudePost

β˜… 113

from ZilongXue

A seamless email management interface powered by Claude.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

ClaudePost

A Model Context Protocol (MCP) server that provides a seamless email management interface through Claude. This integration allows you to handle emails directly through natural language conversations with Claude, supporting features like searching, reading, and sending emails securely.

Features & Demo

Email Search and Reading

<p align="center"> <img src="assets/gif1.gif" width="800"/> </p>
  • πŸ“§ Search emails by date range and keywords
  • πŸ“… View daily email statistics
  • πŸ“ Read full email content with threading support

Email Composition and Sending

<p align="center"> <img src="assets/gif2.gif" width="800"/> </p>
  • βœ‰οΈ Send emails with CC recipients support
  • πŸ”’ Secure email handling with TLS

Project Structure

Copy & paste β€” that's it
claude-post/
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ .env                    # Not included in repo
β”œβ”€β”€ .python-version        # Python version specification
└── src/
    └── email_client/
        β”œβ”€β”€ __init__.py
        β”œβ”€β”€ __main__.py
        └── server.py       # Main implementation

Security Notes

  • Use app-specific passwords instead of your main account password
  • For Gmail users:
    1. Enable 2-Step Verification in your Google Account
    2. Generate an App Password for this application
    3. Use the App Password in your .env file

Logging

The application logs detailed information to email_client.log. Check this file for debugging information and error messages.

License

This project is licensed under the MIT License - see the LICENSE file for details.