Email Send & Receive Demo

Click to zoom
Email Send & Receive Demo
Complete email workflow demonstration with IMAP polling and SMTP sending capabilities.
The Email Demo showcases the @ha-bits/bit-email module's capabilities for building email-powered workflows, especially on mobile.
What It Does
- Send Email: Send emails via SMTP to any recipient
- Poll Inbox: Fetch and display emails from IMAP inbox
- Round-Trip Test: Send an email to yourself and verify receipt
- Auto-Polling: Continuously monitor inbox for new messages
- Real-time UI: Interactive web interface for testing email operations
Features
- ✉️ SMTP email sending with customizable recipient, subject, and body
- 📥 IMAP inbox polling with unread/all message filtering
- 🔄 Complete round-trip testing (send → receive verification)
- ⚡ Auto-refresh polling for inbox monitoring
- 🎨 Clean, modern dark-mode UI
Perfect for understanding email automation, building notification systems, or creating email-based workflows with Habits.
Requirements
- Email account with IMAP/SMTP access (Gmail, Outlook, etc.)
- App password for Gmail users
Quick Start
Run using the Habits CLI wrapper, recommended if you develop local Habits
# First, download the example files
npx habits@latest cortex --config ./email-demo/stack.yamlGet in touch
Want this habit running in your environment?
This habit is a starting point. Tell us about your stack and we'll help you get it working exactly the way your team needs.
