skillfed

email-sender

email-sender enables you to integrate email delivery directly into your applications using SMTP. Configure your mail server settings and trigger messages programmatically to automate notifications, alerts, and communications at scale.

email-sender supports sending emails with file attachments by allowing you to specify attachment paths or file objects when composing your message. You configure your SMTP settings, define the recipient(s), compose your email body, and include attachment parameters in your send request. This capability makes it straightforward to distribute documents, reports, or other files programmatically alongside your email content.

AI-generated summary based on this skill's SKILL.md

84 15 MIT updated by AIDotNet

Install

AIDotNet/MoYuCode/email-sender · repository language: TypeScript

CLI (skillfed)coming soon
git clone https://github.com/AIDotNet/MoYuCode
cp -r MoYuCode/skills/tools/email-sender ~/.claude/skills/email-sender

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I send email with attachments using email-sender?

email-sender supports sending emails with file attachments by allowing you to specify attachment paths or file objects when composing your message. You configure your SMTP settings, define the recipient(s), compose your email body, and include attachment parameters in your send request. This capability makes it straightforward to distribute documents, reports, or other files programmatically alongside your email content.

What is email-sender and how does it work for sending emails programmatically?

email-sender is an MIT-licensed tool that enables you to integrate email delivery directly into your applications using SMTP. You configure your mail server settings and trigger messages programmatically to automate notifications, alerts, and communications at scale. The skill handles the connection to your SMTP server and manages the delivery of your messages without requiring manual intervention.

Can email-sender automate email notifications and alerts in my application?

Yes, email-sender is designed specifically for automating email notifications and alerts. Once you configure your SMTP credentials and set up your email templates, email-sender can trigger notifications based on application events, system alerts, or scheduled tasks. This automation capability allows you to keep users informed in real time without manual email composition or sending.

How do I configure SMTP settings for email-sender?

email-sender requires you to configure your SMTP server details including the host address, port number, authentication credentials, and encryption method (typically TLS or SSL). Once these settings are established, email-sender uses them to connect to your mail server and send messages. Proper SMTP configuration is essential for reliable email delivery and troubleshooting any connection issues.

Does email-sender support sending HTML emails with multiple recipients?

email-sender supports sending HTML-formatted emails to multiple recipients simultaneously. You can compose rich HTML content for your message body and specify multiple recipient addresses in a single send operation. The skill also enables you to manage email templates, making it efficient to send consistent, professionally formatted messages to large recipient lists.

Can I use email-sender to send newsletters and bulk emails?

email-sender is well-suited for newsletter and bulk email distribution. You can define email templates once and reuse them across multiple sends, manage recipient lists, and trigger bulk sends programmatically. Combined with SMTP configuration and support for HTML content and attachments, email-sender provides a complete solution for scaling your email communication needs.

SKILL.md

rendered from the published skill — quoted content, verbatim

Email Sender Tool

Description

Send emails with HTML content, attachments, and multiple recipients via SMTP.

Trigger

  • /send-email command
  • User requests to send email
  • User needs email notification

Usage

# Send simple email
python scripts/send_email.py --to "user@example.com" --subject "Hello" --body "Message content"

# Send with attachment
python scripts/send_email.py --to "user@example.com" --subject "Report" --body "See attached" --attachment "report.pdf"

# Send HTML email
python scripts/send_email.py --to "user@example.com" --subject "Newsletter" --html "template.html"

Environment Variables

SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
SMTP_FROM=Your Name <your-email@gmail.com>

Tags

email, smtp, notification, automation

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Read as markdown · JSON record · Browse the source repository

File tree — 2 files
skills/tools/email-sender/SKILL.md
skills/tools/email-sender/scripts/send_email.py

Related skills

Tags

smtp-integration email-delivery attachment-support html-templates multi-recipient notification-system mail-automation python-email