Skip to content

Email (SMTP)

CategoryCommunication
CLImailsend (mailsend-go)
AuthBasic (SMTP credentials)
ConfigSMTP_HOST, SMTP_PORT (optional)

Wraps mailsend-go to let CodeBuddy send emails via SMTP. The agent can compose and send emails with attachments, useful for automated notifications, reports, and team communication.

Install mailsend-go:

Terminal window
# macOS
brew install mailsend-go
# Linux — download from GitHub releases
# https://github.com/muquit/mailsend-go/releases

Configure your SMTP server:

Terminal window
export SMTP_HOST="smtp.gmail.com"
export SMTP_PORT="587"
  • Send — compose and send emails with subject, body, recipients
  • Attachments — attach files from the workspace
  • CC/BCC — multiple recipients
  • HTML — send HTML-formatted emails
  • “Send an email to team@company.com with today’s build report”
  • “Email the test results to the QA team with the log file attached”