Tmail
Mailbot to massmail or act on incoming emails
Install / Use
/learn @tebelorg/TmailREADME
Tmail
Tmail is a mailbot to massmail or act on incoming emails

Why This
- A mailbot can act on incoming emails, to reply or call other automation APIs accordingly
- For whatever reasons (eg data security), you prefer not to use email marketing services
Mass email component originally developed pro bono for a Singapore non-profit as part of its CRM strategy
Set Up
- Update mailer.php & massmail.php with your email, name, etc
- Set up mailbot.php to your server path and service logic
- Modify actions in service.php to act on email intents
To Use
Mailbot example - pipe your email account to mailbot.php (chmod 700), eg using cPanel email filter
|/full_path_on_your_server/mailbot.php
Mass email example - first parameter is recipient list with email addresses on separate lines, second parameter is message in html or text format, third parameter is optional for specifying file to be attached with the email
php massmail.php list.csv mail.html attachment.pdf
Mass email example (within a PHP script) - assign the variables accordingly and include massmail.php
$argv[1] = "list.csv"; $argv[2] = "mail.html"; $argv[3] = "attachment.pdf"; ob_start();
include('massmail.php'); $mail_result = ob_get_contents(); ob_end_clean(); echo $mail_result;
Mail API example - parameters to send email by triggering from webservice or web browser. Important to set your secret APIKEY parameter, to prevent your mailer instance from being abused through API.
your_website_url/mailer.php?APIKEY=&SENDNAME=&SENDTO=&SENDFROM=&SUBJECT=&MESSAGE=&ATTACHMENT=
License
Tmail is open-source software released under the MIT license
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
