π¦ ClawHub
Lel Mail
by @leli1024
Send and read email via a combination of python and bash scripts which makes use of the main agent for reasoning and logic. This skill enables the agent to w...
βοΈ Configuration
Setting up the Config File
Create ~/.config/lel-mail/config.json:
[
{
"provider": "gmail",
"config": {
"smtp": {
"server": "smtp.gmail.com", //Default url
"port": 587 //Default port
},
"imap": {
"server": "imap.gmail.com", //Default url
"port": 993 //Default port
}
},
"auth": {
"user": "example@gmail.com",
"password": "XXXX XXXX XXXX XXXX" //Gmail Requires App Specific Password Rather Than Your Normal Password
},
"can_send": true,
"can_read": true
}
]
Setting up cron job
Set up a simple cron job which runs the following command every 5 minutes with a randomised 30-90 second delay. Confirm with user the interval to be used: ``~/.openclaw/workspace/skills/lel-mail/scripts/email_sender_daemon.sh``π Tips & Best Practices
Prompt user to assist when errors occur due to missing/invalid credentials/configuration
TERMINAL
clawhub install lel-mail