Mail - Email Client
Your intelligent inbox
Overview
Mail is the email application in General Bots Suite. Read, compose, and organize your emails with AI assistance. Mail helps you write better emails, find important messages, and stay on top of your inbox without the clutter.
Features
Folders
| Folder | Description |
|---|---|
| π₯ Inbox | Incoming messages |
| β Starred | Important emails |
| π€ Sent | Sent messages |
| π Drafts | Unsent drafts |
| ποΈ Trash | Deleted emails |
Labels
| Label | Icon | Use For |
|---|---|---|
| Urgent | π΄ | Time-sensitive |
| Personal | π’ | Private emails |
| Work | π΅ | Professional |
| Finance | π‘ | Bills & money |
| Custom | π£ | Create your own |
Email Actions
| Action | Description |
|---|---|
| Reply | Respond to sender |
| Reply All | Respond to all recipients |
| Forward | Send to someone else |
| Archive | Remove from inbox |
| Star | Mark as important |
| Label | Organize with labels |
| Delete | Move to trash |
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
C | Compose new email |
R | Reply |
A | Reply all |
F | Forward |
E | Archive |
S | Star/unstar |
Delete | Move to trash |
Ctrl+Enter | Send email |
Escape | Close/cancel |
β / β | Navigate emails |
Email via Chat
Checking Your Inbox
Reading an Email
Composing an Email
AI-Assisted Writing
Searching Emails
API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/api/email/inbox | GET | List inbox messages |
/api/email/send | POST | Send email |
/api/email/draft | POST | Save draft |
/api/email/:id | GET | Read email |
/api/email/:id | DELETE | Delete email |
/api/email/:id/star | POST | Toggle star |
/api/email/:id/label | POST | Add label |
/api/email/search | GET | Search emails |
Query Parameters
| Parameter | Values | Default |
|---|---|---|
folder | inbox, sent, drafts, trash, starred | inbox |
label | Label name | none |
unread | true, false | none |
limit | 1-100 | 25 |
offset | Number | 0 |
Send Email Request
{
"to": ["john@company.com"],
"cc": [],
"bcc": [],
"subject": "Project Update",
"body": "Hi John,\n\nHere's the latest update...",
"attachments": ["file-id-123"]
}
Email Response
{
"id": "msg-456",
"from": "sarah@company.com",
"to": ["you@company.com"],
"subject": "Q2 Report Review",
"body": "Hi,\n\nPlease review the attached...",
"date": "2025-05-15T10:32:00Z",
"read": false,
"starred": true,
"labels": ["work"],
"attachments": [
{
"id": "att-789",
"name": "Q2-Report.pdf",
"size": 2457600
}
]
}
Configuration
Configure email in config.csv:
key,value
smtp-server,smtp.gmail.com
smtp-port,587
imap-server,imap.gmail.com
imap-port,993
email-from,Your Name <you@gmail.com>
Note: Use app-specific passwords for Gmail, not your main password.
Troubleshooting
Emails Not Loading
- Check internet connection
- Verify email credentials
- Check IMAP settings
- Refresh the page
Send Fails
- Check recipient address
- Verify SMTP settings
- Check attachment size (max 25MB)
- Try again in a moment
Missing Emails
- Check spam/junk folder
- Verify filters arenβt hiding emails
- Check trash folder
- Sync may take a few minutes
Integration Features
Snooze
Hide an email until later. Click the snooze button in the toolbar to pick a time (later today, tomorrow, next week). The email reappears automatically at the chosen time via POST /api/email/snooze.
CRM Panel
When viewing an email, the CRM panel automatically looks up the sender via GET /api/crm/contact/by-email/:email and shows linked deals. Click Log to CRM to record the email against a contact or opportunity.
AI Lead Suggestion
If the email looks like a sales inquiry, an AI banner appears offering to create a lead via POST /api/ai/extract-lead.
Campaign Actions
Add the sender to a marketing list directly from the email via POST /api/crm/lists/:id.
Smart Replies
AI-suggested short replies appear below the email content.
Enabling Mail
Add mail to apps= in botserver/.product:
apps=...,mail
See Also
- Suite Manual - Complete user guide
- Chat App - Send quick emails via chat
- Email API - API reference
- SEND MAIL Keyword - BASIC integration