Webmail Guide (zh / ja / en) #

Open https://mail.<your-domain> in a modern browser to use the three-pane TsubameMail Webmail application (mail-apid + SPA).

1. Language Support (zh / ja / en) #

Webmail automatically detects your browser locale (navigator.language) and lets you switch at any time between Chinese (zh), Japanese (ja), and English (en):

ActionEnglish (en)中文 (zh)日本語 (ja)
Sign inSign in登录ログイン
Sign outSign out退出ログアウト
Compose / SendSend发送送信
Save draftSave draft保存草稿下書き保存
App passwordsApp passwords应用专用密码アプリパスワード
RevokeRevoke吊销失効

2. Signing In & Session Security #

  • Enter your full email address (for example, alice@<your-domain>) and your Webmail password (or Passkey where enabled).
  • Your session uses an HttpOnly, Secure cookie (tsubame_session) with CSRF token protection; avoid using App Passwords on shared browsers.
  • Standard Folders: Browse INBOX, Drafts, Sent, Archive, Trash, and Junk.
  • Safe HTML Viewing: Incoming HTML emails are sanitized and rendered inside a sandboxed frame with Content Security Policy (CSP) attachment isolation so remote scripts cannot execute.
  • Multilingual Search: Full-text search supports UTF-8 queries across English, Japanese (CJK tokenization), Chinese, and other encodings.

4. Composing, Drafts & Undo Send #

  1. Click Compose to open the editor.
  2. Draft Autosave & Conflict Detection: Drafts save automatically (POST /api/drafts, PUT /api/drafts/{id}). If you edit the same draft on two devices simultaneously, optimistic ETag locking detects the conflict (409 Conflict / "Updated on another device") so work is never silently overwritten.
  3. Undo Send: After clicking Send, mail-apid holds the message for the configured undo window (MAIL_API_UNDO_SECONDS, default 10 seconds) before handing it to SMTP. Click Undo (DELETE /api/send/{id}) within that window to cancel delivery and return to editing.
  4. Live Updates: New mail notifications arrive over Server-Sent Events (/api/sse with Last-Event-ID resume).