Browser Versus Android Inbox Lifecycle
TempMailPortal's website and Android app both create private, receive-only temporary inboxes. They are not interchangeable sessions. A browser inbox does not automatically appear in the app, and an app inbox does not automatically appear in a browser. Each client must hold a valid credential for the exact mailbox before it can read that mailbox's messages.
The most important distinction is not screen size. It is how identity and mailbox credentials are created and kept. The browser can create an inbox without an account and stores its credential in that browser profile. The Android app uses a Firebase identity, App Check proof and a stateful mailbox session. Optional Google sign-in raises the account allowance and supports account-owned access, but a guest does not have to provide a Gmail address just to create one inbox.
Lifecycle comparison
| Question | Website inbox | Android app inbox |
|---|---|---|
| How creation starts | The visitor explicitly selects Create; first visit does not write a mailbox automatically. | The app can establish a Firebase guest identity and create an inbox after the user enters the app flow. Availability depends on the installed release. |
| Bot or app proof | Cloudflare Turnstile is verified before the public browser creation path writes D1 data. | Firebase App Check with the registered Android app is required by the protected API path. |
| User identity | No Google sign-in is required for the inbox. A signed, mailbox-specific browser credential is enough. | Anonymous Firebase identity for guest use; verified Google sign-in is optional for the higher account tier. |
| Mailbox credential | A signed p3 bearer credential encodes the address and server expiry and is checked against the mailbox row. |
A random p2 bearer credential is stored as a hash in a server-side session row. |
| Mailbox access window | Up to seven days from creation unless deleted earlier. | Up to 30 days from creation unless closed earlier. |
| Message lifetime | Each message uses the chosen 10-minute, one-hour or 24-hour retention, capped by mailbox expiry. | The same three message-retention choices are supported by the receiving service. |
| Local storage | Current credential and up to five saved inbox entries in origin-scoped browser localStorage; not an encrypted vault. |
The published app policy says up to five saved credentials are kept in an encrypted local file using a key protected by Android Keystore. |
| Attachments | Metadata only; the website does not download file bytes. | Retained file download requires the verified app/account path and exact mailbox access. |
| Device transfer | A one-use, five-minute pairing code can grant a separate session; browser guest inboxes do not sync automatically. | Account-owned pairing requires the same signed-in account on both devices. The owner can revoke paired sessions. |
| Losing local state | Clearing site data, using another profile or losing the credential can make an active inbox unreachable. | Clearing app data or uninstalling can lose a guest identity unless it was upgraded to a recoverable account; saved files outside the app are unaffected. |
This table describes the inspected website and Worker implementation plus the app behavior declared in the Android privacy policy. It is not yet a completed side-by-side device test.
The browser starts with a deliberate create action
The website does not create an inbox merely because someone visits the homepage. Its initialization path shows a start state when no valid saved credential exists. Selecting Create requests a random private inbox and includes the chosen message retention and a Turnstile token. The Worker verifies that proof before inserting the mailbox row.
After a successful response, the page stores the address, bearer credential and a local timestamp under its own origin. The browser restores that entry only when the address uses an active mailbox domain, the token has an expected private format and the local timestamp is less than seven days old. The server separately verifies the signed credential and active mailbox row. Passing the local check alone never authorizes API access.
MDN explains that localStorage ordinarily persists across browser sessions and is scoped to the page's origin. That persistence is convenience, not secure recovery. Anyone with access to the same browser profile may be able to use the stored credential. Private-browsing data may disappear when its last private tab closes, and browser settings can block or clear storage.
The Android path adds identity and app verification
The Worker expects two proofs from Android before account-scoped API use: a Firebase Authentication token and a Firebase App Check token issued for the exact registered app. Firebase documents that anonymous authentication can establish a temporary account without a conventional signup, and that credentials can later be linked to a permanent sign-in method. Firebase also documents how App Check with Play Integrity helps a backend distinguish requests from the registered app environment.
App Check is an abuse-control layer, not proof that a phone, app or token can never be compromised. The Worker additionally checks the Firebase project, Android app identifier, token signature and freshness. It accepts only anonymous or verified Google identities. Current server limits allow one active inbox for a guest identity and five for a verified Google account, with separate daily creation and request allowances.
The server creates an Android/account mailbox with a 30-day lifetime and a stateful session. The app policy says its saved mailbox file is encrypted using a key protected by Android Keystore. Android's Keystore documentation explains that keys can remain non-exportable and can have enforced usage restrictions. That platform capability alone does not guarantee the security of every part of an app.
Message expiry is the same type of boundary on both clients
The client does not decide whether an expired message still exists. The receiving Worker records the expiry timestamp. List, detail and attachment queries require that timestamp to remain in the future. A message therefore disappears according to its own retention even when the mailbox credential still has days left.
This produces two clocks on both clients:
- the mailbox credential's access window; and
- each message's much shorter retention window.
Saving an inbox, starring a message or signing in does not extend the message clock. A 30-day Android mailbox is not a 30-day archive. A seven-day browser mailbox is not a seven-day message history.
Transfer and recovery are limited by design
A browser user can create a one-use pairing code that expires after five minutes. Redeeming it creates a distinct stateful session for the same mailbox, subject to server checks and device limits. The code must be treated as a secret. The owner can revoke non-owner sessions and pending codes.
This is controlled access delegation, not automatic synchronization. A QR code on the website contains only the email address, never its private bearer token, so scanning the address alone cannot restore the inbox. Optional Google sign-in on Android can support account ownership across devices, but a guest identity is not a durable recovery account. Firebase's security checklist likewise cautions that anonymous authentication is intended for warm onboarding and that users who need cross-device persistence should convert to a permanent sign-in method.
Which client should someone choose?
Use the website for a permitted, low-stakes message when you want an explicit, account-free browser workflow and do not need file downloads. Keep the browser profile private and delete the inbox when the task is complete.
Use Android when app verification, optional account ownership, saved-inbox management, attachment access or app notifications are useful. Do not interpret those extra controls as a reason to send sensitive records to a temporary inbox. Neither client offers a permanent mail archive, outbound sending or a guaranteed recovery route for expired messages.
The choice is therefore about workflow and local credential handling. It does not change the basic safety rule: use a temporary inbox only for mail you are permitted to receive and can afford to lose.
Sources and verification
Website behavior was checked against the homepage script, and Android guest and sign-in paths against the app source and backend access rules. This is not a completed comparison on a Play-installed device.