ws. Commands: Python ·
TypeScript.
- Python
- TypeScript
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set up the Himalaya mail CLI with Python or TypeScript.
ws. Commands: Python ·
TypeScript.
pip install 'mirage-ai[email]'
from mirage.commands.cli.builtin.himalaya import HIMALAYA
from mirage.core.email.config import EmailConfig
config = EmailConfig(
imap_host="imap.example.com",
smtp_host="smtp.example.com",
username="agent@example.com",
password="app-password",
)
ws.register_cli("himalaya", HIMALAYA, config.model_dump())
pnpm add imapflow mailparser nodemailer
import { HIMALAYA } from '@struktoai/mirage-node'
const config = {
imapHost: 'imap.example.com',
smtpHost: 'smtp.example.com',
username: 'agent@example.com',
password: 'app-password',
}
ws.registerCli('himalaya', HIMALAYA, config)