# Mail - Email Client > **Your intelligent inbox** Mail Interface Screen --- ## 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 ```json { "to": ["john@company.com"], "cc": [], "bcc": [], "subject": "Project Update", "body": "Hi John,\n\nHere's the latest update...", "attachments": ["file-id-123"] } ``` ### Email Response ```json { "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`: ```csv key,value smtp-server,smtp.gmail.com smtp-port,587 imap-server,imap.gmail.com imap-port,993 email-from,Your Name ``` **Note:** Use app-specific passwords for Gmail, not your main password. --- ## Troubleshooting ### Emails Not Loading 1. Check internet connection 2. Verify email credentials 3. Check IMAP settings 4. Refresh the page ### Send Fails 1. Check recipient address 2. Verify SMTP settings 3. Check attachment size (max 25MB) 4. Try again in a moment ### Missing Emails 1. Check spam/junk folder 2. Verify filters aren't hiding emails 3. Check trash folder 4. Sync may take a few minutes --- ## See Also - [Suite Manual](../suite-manual.md) - Complete user guide - [Chat App](./chat.md) - Send quick emails via chat - [Email API](../../chapter-10-rest/email-api.md) - API reference - [SEND MAIL Keyword](../../chapter-06-gbdialog/keyword-send-mail.md) - BASIC integration