Implements complete IMAP server using FastMCP protocol with 5 core tools: - list_folders: Browse mailbox structure - search_emails: Query with filters (sender, subject, date) - get_email: Fetch full email content with metadata - send_email: SMTP sending with HTML support - health_check: Connection validation Architecture: - FastMCP for MCP protocol implementation - aioimaplib for async IMAP connections - IMAPSession class for connection pooling - REST API bridge (api_server.py) for HTTP access Tech: Python 3.11 + FastMCP + aioimaplib + FastAPI + aiosmtplib
51 lines
530 B
Plaintext
51 lines
530 B
Plaintext
# Environment variables
|
|
.env
|
|
.env.local
|
|
.env.production
|
|
.env.development
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
backend/venv/
|
|
backend/.deps_installed
|
|
|
|
# Node.js / Next.js
|
|
node_modules/
|
|
.next/
|
|
out/
|
|
frontend/node_modules/
|
|
frontend/.next/
|
|
frontend/out/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
package-lock.json
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Build artifacts
|
|
dist/
|
|
build/
|
|
*.egg-info/
|
|
|
|
# Process IDs
|
|
.backend.pid
|
|
.frontend.pid
|
|
|
|
# Next.js
|
|
next-env.d.ts |