# ── Standard IMAP/SMTP provider (default) ───────────────────────────────────── # provider = "imap" # optional — "imap" is the default [imap] host = "imap.gmail.com" # your provider's IMAP server port = 993 username = "you@example.com" password = "your-app-password" use_tls = true [smtp] host = "smtp.gmail.com" # your provider's SMTP server port = 465 username = "you@example.com" password = "your-app-password" # tls_mode options: none | starttls | smtps tls_mode = "smtps" from = "Your Name " # ── ProtonMail provider ──────────────────────────────────────────────────────── # Uncomment the lines below (and remove or comment out [imap]/[smtp] above). # Build with: cargo build --features proton # Run with: cargo run --features proton # # provider = "proton" # # [proton] # username = "you@proton.me" # password = "your-proton-login-password" # # mailbox_password = "..." # only for two-password-mode accounts # # [bridge] # imap_port = 1143 # smtp_port = 1025 # local_password = "changeme" # any string; used only locally between tuimail and the bridge