Email Channel
Give your humanoid an inbox -- it reads incoming mail and writes the replies.
What you'll see
- Launch
rysh; write/show a skill file withcontacts.email(address,imap_host/imap_port,smtp_host/smtp_port,username/passwordas${ENV_VAR}). - Double-Escape into rysh mode;
##humanoid spawn .rysh/humanoids/support.md-- gains email_list / email_read / email_send tools. ##humanoid channel start support email-- begins polling the inbox, replying via SMTP.##humanoid channels support-- confirm the inbox is live.
Commands shown
rysh
mkdir -p .rysh/humanoids
echo '---' > .rysh/humanoids/support.md
echo 'name: support' >> .rysh/humanoids/support.md
echo 'contacts:' >> .rysh/humanoids/support.md
echo ' email:' >> .rysh/humanoids/support.md
echo ' address: support@example.com' >> .rysh/humanoids/support.md
echo ' imap_host: imap.example.com' >> .rysh/humanoids/support.md
echo ' smtp_host: smtp.example.com' >> .rysh/humanoids/support.md
echo ' username: EMAIL_USER' >> .rysh/humanoids/support.md
echo ' password: EMAIL_PASS' >> .rysh/humanoids/support.md
echo '---' >> .rysh/humanoids/support.md
echo 'You answer support email professionally.' >> .rysh/humanoids/support.md
cat .rysh/humanoids/support.md
##humanoid spawn .rysh/humanoids/support.md
##humanoid channel start support email
##humanoid channels support
Keys used
EnterEscape
Transcript
0:00Give your humanoid an inbox -- it reads incoming mail and writes the replies.
0:03Launch rysh. The email channel lives under contacts.email with IMAP for reading and SMTP for sending.
0:10Set the address, IMAP host and port, SMTP host and port, and the username and password as ENV_VARs. Cat it to see the shape.
0:22Double-Escape into rysh mode and spawn it. The humanoid gains email_list, email_read, and email_send tools.
0:31Start the email adapter and the humanoid begins polling the inbox, turning each new message into a prompt and mailing back its answer.
Key takeaway
contacts.email configures IMAP (read) and SMTP (send); the humanoid uses email_list/email_read/email_send and ##humanoid channel start <name> email to go live.