run_doctor
Run a complete Proton Mail health check to diagnose bridge and connection failures. Validates SMTP/IMAP auth, SQLite integrity, sync drafts, and policies, then returns classified fixes.
Instructions
Run a comprehensive production health check covering SMTP auth, IMAP auth, optional IMAP IDLE probe, SQLite index integrity, sync-failed drafts, runtime policy validation, and what this server can/cannot do (capabilities). Also reports this server's own version and entrypoint path — worth checking first when behavior doesn't match the changelog, since an old/orphaned install elsewhere on disk can silently shadow an upgrade and every other field here would still report healthy. Connection failures include a classified diagnosis (authentication_failed vs bridge_unreachable) with a specific fix. Use to fully diagnose or validate the setup. Prefer get_connection_status for a quick protocol-only reachability check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeImap | No | Verify IMAP connectivity. | |
| includeSmtp | No | Verify SMTP connectivity. | |
| includeIdleProbe | No | Run a short IMAP IDLE wait to confirm the watch path is operational. | |
| idleTimeoutSeconds | No | IDLE probe timeout in seconds when includeIdleProbe is true. |