Agent skill · bighardperson
email-skill
Email management and automation. Send, read, search, and organize emails across multiple providers.
What it needs
About 2k tokens when loaded.
What this skill does
Email 📧 Email management and automation with attachment support. Features Send emails with attachments Support for multiple email providers (Gmail, Outlook, Yahoo, etc.) HTML and plain text email support CC and BCC recipients Test email functionality Secure TLS/SSL connections Setup Instructions 1. Configure Email Credentials Create a configuration file emailconfig.json in your workspace: 2. For Gmail Users (Recommended) 1. Enable 2-factor authentication on your Google account 2. Generate an App Password: Go to https://myaccount.google.com/security Under "Signing in to Google," select "App passwords" Generate a new app password for "Mail" Use this 16-character password in your config 3. Alternative: Environment Variables Set these environment variables instead of using a config file: Usage Examples Send a Simple Email Send Email with Attachment Send Test Email Using with OpenClaw Commands Supported Email Providers Provider SMTP Server Port TLS ---------- ------------- ------ ----- Gmail smtp.gmail.com 587 Yes Outlook/Office365 smtp.office365.com 587 Yes Yahoo smtp.mail.yahoo.com 587 Yes QQ Mail smtp.qq.com 587 Yes Custom SMTP your.smtp.server.com 587/465 As configured Python API Usage Troubleshooting Common Issues: 1. Authentication Failed Verify your username and password For Gmail: Use app password instead of regular password Check if 2FA is enabled 2. Connection Refused Verify SMTP server and port Check firewall settings Try different port (465 for SSL) 3. Attachment Too Large Most providers limit attachments to 25MB Consider compressing files or using cloud storage links Security Notes Never commit email credentials to version control Use environment variables for production deployments Regularly rotate app passwords Consider using dedicated email accounts for automation
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills bighardperson/邮件管理