Files
ai-mailer/config.yaml.example

28 lines
917 B
Plaintext

imap:
server: "imap.gmail.com" # Example for Gmail
port: 993
username: "your-email@gmail.com"
password: "${IMAP_PASSWORD}" # Will be read from environment variable
mailbox_in: "INBOX"
draft_box: "Drafts"
processed_box: "Processed" # Folder where processed emails will be moved
use_tls: true
ai:
openrouter_api_key: "${OPENROUTER_API_KEY}" # Will be read from environment variable
model: "anthropic/claude-2" # Other options: "openai/gpt-4", "google/palm-2"
temperature: 0.7 # 0.0 to 1.0, lower for more focused responses
max_tokens: 2000 # Adjust based on your needs and model limits
context:
urls:
- "https://your-company.com/faq"
- "https://your-company.com/about"
- "https://your-company.com/support"
polling:
interval: "5m" # Examples: "30s", "1m", "1h"
logging:
level: "info" # Options: "debug", "info", "warn", "error"
file_path: "paraclub-ai-mailer.log"