//! End-to-end JMAP tests against Fastmail.
//!
//! These tests require a Fastmail account and an app password:
//!
//! ```sh
//! FASTMAIL_API_TOKEN="<app-password-or-token>" \
//! FASTMAIL_EMAIL="user@fastmail.com" \
//! cargo test --test fastmail -- --include-ignored
//! ```
//!
//! `FASTMAIL_API_TOKEN` is the bare Fastmail app password or API
//! token; the test adds the `Bearer ` prefix itself.
use env;
use HttpAuthBearer;
/// Full end-to-end JMAP test against Fastmail over HTTPS.
///
/// Exercises session discovery, mailbox CRUD, email
/// import/query/get/update, thread fetch, blob upload, and cleanup.