Cookie policy
XapMail uses only the cookies needed to sign you in and to complete Google or Microsoft sign-in. There are no advertising or analytics cookies. See the privacy policy for the rest of the data we store.
Account session
After you sign in, the browser stores __Host-xapmail_session. It is HttpOnly, Secure, and SameSite=Strict. It expires after 12 hours. It is the session for your XapMail account. Signing out deletes it.
Google and Microsoft sign-in
While a Google or Microsoft sign-in is in progress, the browser stores __Host-xapmail_oauth for up to 10 minutes. It is HttpOnly, Secure, and SameSite=Lax, so the provider can return you to https://xapmail.app. It holds the check values for that sign-in attempt, not your mail.
Admin session
The separate admin desk at /admin uses __Host-xapmail_admin. It is HttpOnly, Secure, and SameSite=Strict, and it expires after 8 hours. It is not set for ordinary mailbox users.
Local storage
The theme and palette you choose are saved in local storage as xapmail-theme and xapmail-palette. That is not a cookie. Clearing site data removes it.
Your choices
You can block cookies in the browser. XapMail cannot keep you signed in without the session cookie. Google and Microsoft cannot finish sign-in without the short-lived sign-in cookie.

