Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| EMAIL_PORT | No | The port for the IMAP server | 993 |
| EMAIL_PROMPT | No | Custom prompt for summarization. Must include {{emails}} to insert the email content. Can also use a file path (absolute path) or URL to load prompt content | Summarize the following emails: {{emails}} |
| DEBUG_LOG_FILE | No | Custom path (absolute path) for the debug log file | |
| EMAIL_PASSWORD | Yes | Your email app password | |
| EMAIL_USERNAME | Yes | Your email address | |
| EMAIL_CLIENT_TYPE | No | The type of email client: gmail, outlook, yahoo, etc | gmail |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| send-email | Send an email to a specified recipient with a subject and body content. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch-emails | Get emails from the user's inbox. Can specify the mailbox (INBOX by default), a subject (string), date range (ISO format: YYYY-MM-DDTHH:mm:ss), and sender emails (list of strings) to filter emails. |
| send-email | Send Email with subject, destination and body |