A friendly, step-by-step guide to backing up your WhatsApp chats into your mailbox. No technical knowledge needed.
WhatsApp lets you export a chat to a file. On its own, that file is hard to read and easy to lose.
This app takes those exported chat files and copies the conversations into your mailbox, where they’re:
It adds the messages to your mailbox. It never sends anything, never deletes anything, and never posts anything back to WhatsApp.
It needs Android 11 or newer, on a 64-bit ARM phone.
Before the first sync, the app needs permission to add messages to your mailbox. It does that with an email app password (IMAP), which works with Gmail, Yahoo, iCloud, AOL, Fastmail and any other IMAP mailbox.
An “app password” is a separate password your email provider generates for one app. It only works for mail, and you can revoke it at any time without changing your real password.
This does not expire. To disconnect later, open Mail account and tap Forget saved password.
Chat Mail Sync is an Android app. If you’re exporting from WhatsApp on the same Android phone, you can share the export straight into Chat Mail Sync (see section 4) — nothing needs to leave the device. Exporting from an iPhone means getting the file onto an Android phone with Chat Mail Sync installed first (email it to yourself, AirDrop/cable to a computer and back, or any cloud drive).
One chat at a time. WhatsApp has no multi-select export — you cannot tick several chats and export them together. Each chat has to be exported on its own, from inside that chat. The app itself has no such limit: once the files are on the phone you can add as many as you like at once and sync them in one run.
You’ll get either a .txt file (text only) or a .zip file (text plus
media). The app accepts both.
Once the export file is on your phone:
.txt/.zip files at
once, orAdded files appear in the queue on Home, with a count like “2 files ready to sync”. You can add several chats at once.
If your exports always land in the same place (your Downloads folder, or a folder your phone syncs to), the app can collect them itself, on a schedule if you want one. That is section 6.
When it’s done, the result appears on Home under Last result, and each synced chat is browsable under the Chats tab. Once a sync completes, the app deletes its own queued copy of each export; your original is left alone unless After import says otherwise.
If a cutoff date is set (in Settings → Advanced), a card above the inbox says so, and nothing older than that day is sent. The card stays there for as long as the cutoff does; it is not a notice to dismiss. The FAQ in section 8 covers what the cutoff does and does not do.
There is one scheduling mechanism, and it is the watched folder: you nominate a folder, the app checks it on an interval, and anything new it finds is imported and synced without you opening anything. There is no separate “sync every N hours” setting, because with nothing new in the inbox there would be nothing for it to do.
Interval options: every 15 min (default) · every 30 min · every hour · every 3 hours · every 6 hours · every 12 hours · once a day.
There is no option shorter than 15 minutes. Android’s background scheduler enforces that as a hard floor. No app of any kind can go under it.
Android checks on its own schedule even with the app closed — that is the whole point of doing it through the system scheduler.
Android treats a periodic job as “not more often than this”, never “exactly this”. A tick can be delayed — by minutes on a phone in use, by hours on one that is idle in Doze — and several may be batched together to save power. Set it to every hour and you should expect roughly hourly, not on the hour.
The scan itself needs no network. The sync it triggers does, so if the phone is offline when a tick fires, the files are imported and wait in the inbox for the next run rather than failing.
The single most common reason a schedule “stops working” is Android’s battery optimisation putting the app to sleep. If auto-import matters to you, exempt the app once:
None of this affects manual syncs or Check and sync — those run in the foreground while you are looking at the app, so the system leaves them alone. It only affects unattended checks.
Battery cost. The check is cheap — a directory listing — but it is not free, and a sync that follows it uses the network. Once a day suits most people; every 15 minutes is for a folder that genuinely receives exports through the day.
synced subfolder is never re-imported..txt and .zip only, the same as a manual import.Open your mail app or webmail and look for a WhatsApp folder. Inside it there is one folder per chat, named after the chat, e.g. WhatsApp/John Doe, WhatsApp/Family Group. If a chat’s folder is missing, for example because you deleted it, the next sync creates it again.
On Gmail, folders show as labels: a WhatsApp label in the left-hand list (in the Gmail app, in the menu), with one label per chat under it.

The labels list in Gmail on the web, with the account address hidden.
Each email holds one day of the chat (or the chunk size you chose), filed under the chat’s folder. Whether your mail app shows them as one thread depends on the app: Gmail, for example, lists each day separately. Opening one shows the messages laid out like WhatsApp, with photos shown inline and other files attached for download.

One archived chat email in Gmail on the web, with the account address hidden.

The emails under one chat’s label in Gmail on the web, with the account address hidden.
Every entry below is one question and one answer: Q. is the question, A. is the answer, and a rule separates one from the next. The Android Help & FAQ screen carries the same questions in the same order.
A. On your phone, open the chat → the three-dot menu → More → Export
chat, then choose Include media (a .zip) or Without media (a plain
.txt). Choose Include media the first time if you want the chat’s photos and
files: a later export with media only brings attachments for newer messages. Section 3 has the longer version, including how to get the file onto
your phone. One chat at a time — WhatsApp has no multi-select export — but the app
itself will take as many exported files at once as you have.
A. Because nothing is being sent. The app uses the mail command that adds a message to a mailbox (IMAP APPEND), which is the same thing your mail client does when it saves a draft or files a copy of an outgoing message. Your chats land in your own mailbox and nobody else receives anything.
A. In a folder called WhatsApp, with one folder inside it for each chat, named after the chat. On Gmail these show as labels: a WhatsApp label with one label per chat under it. Each email holds one day of the conversation (Settings > Advanced > Chunk size can make it an hour or a week instead). Whether your mail app shows a chat’s emails as one thread depends on the app: Gmail, for example, lists each day separately. If you exported with media, photos show inside the email and other files come as attachments. You can search them like any other mail. If a new folder doesn’t show yet, refresh your mail app’s folder list. If a chat’s folder is missing, for example because you deleted it, the next sync creates it again.
A. Nothing outside the mailbox. What you hand it is an app password, and that is a mail credential rather than an account one — it works with the mail protocols and nothing else. It cannot sign in to your provider’s website or app, cannot reach your files, photos, contacts or calendar, cannot see or change your account settings, and cannot change your real password. You create it separately from your normal password, and you can revoke it on its own, from your provider, whenever you like — that ends this app’s access without disturbing anything else you use. What it can do inside the mailbox is the next question.
A. Inside the mailbox, the app’s own code — and it is worth being plain about that. No provider can issue a password limited to one mail operation: any credential that can add mail can technically read and remove it too. What the app does with it is use four commands and no others: list folders, create a folder, subscribe to it, and add a message. None of them can open or remove a message, and because the app never opens a folder for reading it never reaches the state where that would be possible. The source is public if you or anyone else wants to verify it: github.com/harshalambani/ChatMailSync.
A. Encrypted at rest, on the phone you entered it on, with a key held in the phone’s Android Keystore, which never leaves the phone’s secure hardware. It is never written into the app’s settings file, never shown back to you in the password box after saving, and never included in a log line or an error message.
A. Double-check the email address and app password under Settings → Mail account, and that the app password hasn’t been revoked by your provider. The app password is the usual culprit — providers revoke it if you turn off two-factor authentication, and some expire it on their own.
A. Because that route is only open to apps the provider has formally reviewed, and the review is not free. Google caps an unreviewed app at 100 users and expires its sign-in roughly every 7 days; getting past that means going through Google’s verification, which for anything touching Gmail requires a security assessment by an approved third party — paid for, and repeated every year. Microsoft, Yahoo and Apple each have their own registration and review to satisfy separately: it is one process per provider, not one piece of work. Chat Mail Sync is free and takes no money from anyone, so there is nothing to fund that with.
An app password works on every provider in the list, does not expire, and can be revoked on its own. The honest trade-off is that you type a secret into the app instead of clicking a consent screen, which is why two of the questions above set out exactly what that secret can and cannot touch.
One consequence worth knowing: Microsoft no longer allows app passwords on any of its mailboxes — work and school (Microsoft 365) accounts lost basic authentication first, and personal Outlook.com, Hotmail, Live and MSN accounts followed in September 2024 — so a Microsoft mailbox cannot be used as the destination at all.
A. Gmail and Yahoo are tested end to end. iCloud and AOL should work the same way but haven’t been tested yet. Any other mail service that offers app passwords over IMAP should also work: pick Custom and enter its IMAP server and port. That includes paid services such as Fastmail or Mailbox.org. Outlook.com and Hotmail (or any other personal Microsoft mailbox) can’t be used: Microsoft no longer allows app passwords for those accounts, and this app has no other way to sign in.
A. That is expected, not a fault. The saved app password is encrypted with a key tied to the Android Keystore on the particular phone it was entered on. Moved to a new phone, or reinstalled after an uninstall, the app cannot unlock it. Nobody who picks up the phone can read your password either, which is the point. Your app password is still valid at your provider: just enter it again under Settings → Mail account on the new device.
A. Only .txt and .zip files are accepted. Make sure you exported the chat
(not a screenshot or contact card), and that the file actually arrived — shared
to the app or picked with Choose exports to import on Home. If it came from
another app or a watched folder, close the app completely and open it again; that
re-reads the queue.
A. You probably exported Without media, and that can’t be topped up later. A message the app has already handled is never sent again, so a new export with Include media / Attach Media only brings attachments for messages newer than your last sync. A message sent in the same minute as the last one filed still arrives if the app has not filed it yet. To get the older photos and files, use Reset (forget sync history) on that chat: it tells you to delete that chat’s mail from your mailbox first. Then export with Include media and sync; the whole chat is filed again (every message, photos included). If you skip the delete, you get a second copy of every message.
A. WhatsApp keeps them, but it does not put them in the file it exports. Export chat writes one line per message — a time, a sender and the text — and WhatsApp has chosen not to give reactions a line of their own, so they never leave the app. Your own WhatsApp backup does carry reactions; the export is a deliberately simpler format. That exported file is the only thing Chat Mail Sync is ever given, so there is nothing in it to import — and no setting on either side changes that.
An emoji somebody sent as a message of its own comes through normally; it is only the tap-and-hold reaction on someone else’s message that the export leaves behind. The same goes for anything else Export chat omits: the app can never show more than WhatsApp put in the file.
A. The app has not worked out which name in your exports is yours yet.
An export does not mark your own messages in any way. WhatsApp writes your profile name in the sender position exactly as it writes everybody else’s, so there is nothing in the file that says which of the names is you. The app has to work it out, and it does so from a one-to-one chat: that export names the other person in its own filename, so whichever name is left over is necessarily yours. Group chats never decide this – there is no way to tell from a group who the owner is – they use whatever a one-to-one has already established.
Until it knows, every message is drawn as if somebody else sent it. Two ways to fix it:
That screen always states which name it is currently treating as yours and where that name came from, so you never have to guess what the app thinks.
Emails already sent are not redrawn. Setting the name changes how future emails are laid out, not ones already in your mailbox, and the app will not re-send a message it has already archived. If you want a chat laid out again correctly, use Reset on that chat after setting the name.
A. Both of them, as two separate emails.
A message is recognised by its text, so editing it makes it a different message as far as the app is concerned. If the chat was already archived before you made the edit, the original email stays exactly where it is and the edited version arrives beside it as a new one. Nothing is overwritten, because this app can add mail to your mailbox but never change or remove what is already there.
Telling them apart is easy: WhatsApp marks the edited line
<This message was edited> in the export, and that marker is archived along
with it. The email carrying the marker is the later version.
If you only ever export a chat after editing it, you get the edited version on its own – the original was never in the file, so the app never saw it.
A. That depends on whether it had already been archived when you deleted it.
Deleted before you exported the chat – it is not archived at all.
Delete for everyone leaves the line This message was deleted in the
export, and the app drops that along with WhatsApp’s other notices, so it
never reaches your mailbox.
Deleted after it was archived – the email is still in your mailbox, and it stays there. Deleting a message in WhatsApp has no effect on mail that has already been sent; the app only ever adds. If you want it gone, delete that email yourself in your mail app.
Deleting the archived email does not undo the record. The app remembers that it already sent that message, so it will not send it again on a later sync – you are left with a permanent gap in the archive. If you want a chat re-sent from scratch, use Reset on that chat instead, which clears the record deliberately and tells you how to clear the mailbox first.
Messages disappearing from a later export are harmless in the other direction: the app never treats an absence as a change, so a re-export with deleted messages missing cannot disturb anything it has already archived.
A. It saves you adding files by hand. Point it at a folder — wherever your
WhatsApp exports land — and any .txt or .zip that appears there is picked up
and queued for the next sync. Only that one folder is looked at, subfolders are
left alone, and each file is picked up only once, so leaving it switched on
costs you nothing. Your original is never touched at import time: the
After import setting takes effect only once a file has
actually reached your mailbox, so a sync that fails, or one you stop, leaves
everything exactly where it was. Section 6 covers it in full.
A. The watched folder is the schedule — there is no separate “sync every N hours” setting, because with nothing new in the inbox there would be nothing to do. Point it at a folder, switch on the automatic check, and pick an interval: 15 minutes to once a day, where Android’s background scheduler imposes the floor. Section 6 has every option.
A. The app keeps checking with the app closed, so the cause is almost always battery optimisation: the system has put the app to sleep, and a sleeping app gets no background ticks. Exempt it once — stock Android, Samsung’s sleep lists and the Autostart permission on Xiaomi/Oppo/Vivo/OnePlus are all covered in section 6. This does not affect a manual sync, which runs in the foreground while you watch.
A. Yes. Set a cutoff date in Settings → Advanced and nothing older than that day is ever sent. It is a floor, not a window: there is no matching “to” date, because the whole job of this app is to keep moving forwards. Leave it blank and everything is sent.
An individual chat can also carry its own cutoff, set from that chat’s page under Cutoff date, and that one overrides the app-wide date for that chat alone – it is not added to it. The line under the field always names the date actually in force, so a chat with no cutoff of its own still tells you which floor it is standing behind.
While a cutoff is set, a card above the inbox says so permanently, rather than as a notice you can dismiss. A floor you have forgotten about looks exactly like an app that is losing your messages.
It cannot cause a duplicate. For a chat already archived past the cutoff, the app carries on from where it stopped and ignores the cutoff — whichever of the two dates is later always wins — so lowering the cutoff never re-sends anything. What the cutoff held back is reported as its own number at the end of a sync, kept apart from the skipped count, so “your cutoff held these back” is never mistaken for “already sent”.
A. Not on the same device. Every message is fingerprinted, so the app remembers what it has already saved and only adds new messages — you can safely re-export a chat later to pick up newer messages, and the overlap is skipped automatically. That memory belongs to this instance of the app, though, not to your mailbox; see the next question.
A. They can, but they will not know about each other, and you will get duplicates. Any two instances behave this way — two phones, or two separate installs on the same phone.
The record of what has already been archived lives in that instance’s own
sync_state.db — nothing about it is stored in the mailbox. A second instance
signed in to the same account therefore starts from zero knowledge and re-files
every chat you give it, even chats the first one archived months ago. The app can
add mail but never remove it, so clearing the duplicates afterwards is manual work
only you can do.
Use one instance per mailbox. If you want to archive from more than one place, give each instance its own mailbox or its own account. Replacing an instance is a different case — use Settings -> Backup & restore to carry the record across, and the new one picks up exactly where the old one stopped. See the next answer.
A. On the old one: Settings -> Backup & restore -> Save a backup. It writes a small file holding the record of what has already been sent, together with your preferences. Put it wherever you like and move it across however you normally move a file.
On the new one: install the app, then Restore from a backup in the same place, before the first sync — or tap Moving from another phone? Restore from a backup right on the app’s first screen, which does the same thing without waiting to reach Settings. Your chats are not in that file and do not need to be — they are already in your mailbox, which is the archive. What the backup saves you is a second copy of every one of them landing there.
Your mail password is deliberately left out, so the new phone asks for it once.
Restoring merges rather than replaces, so a restore onto an app that has
already synced something keeps both sides, and restoring the same backup twice
does nothing the second time. A backup made by a newer version of the app is
refused (“Update this device first, then restore”), and a file that cannot be read
is refused with a sentence and changes nothing. The backup file ends in
.cmsbackup. You will still need to add your export files again on the new phone,
and to choose the watched folder again in Settings → Advanced.
Restoring during first-run setup takes you straight to entering your app password and then Home — it does not walk you back through the rest of the welcome steps, since a restored phone already knows the rest. Either way, the app shows what came back and what you still need to redo, right under the restore button.
A. Your chats are safe either way — they are in your mailbox, and nothing that happens on the device can take them out of it. What a reset, a reinstall or a wiped device destroys is the record of what has already been sent, and without that record the app mails every chat a second time, into a mailbox that has no way to tell the copies apart.
The protection is Settings -> Backup & restore -> Save a backup. It writes that record to a file you keep somewhere else — not inside the app’s own storage, which is the thing that goes missing. Keep a recent one; the section tells you when the last one was taken. Android’s own system backup may bring the record back too, depending on your phone and settings, but do not rely on it. Your mail password is in neither, so you enter it once after a restore.
A. Every email provider caps how big a single email can be — 25 MB at Gmail and Yahoo, 20 MB at iCloud, more at some others. The app works within that cap by splitting a busy day across several emails, so in almost every case you will never notice it. One case cannot be split: a single file, usually a long video, larger than the whole cap on its own. No email anywhere can carry it.
When that happens the message is still archived — the text, the sender, the time, its place in the conversation — and the email carries a note where the video would have been, naming the file and its size. Only the file itself is left out, and it will be left out on every future sync too, which is why the sync summary lists it by name rather than letting you discover it years later. The video is not lost: it is still in the WhatsApp export you imported, and still on your phone. If you want it in your mailbox, send it to yourself separately, or shrink it first.
One thing that surprises people: a 20 MB video does not make a 20 MB email. Email cannot carry raw files, so everything is re-encoded on the way out, which adds about a third — a 20 MB video arrives as a roughly 27 MB email. That is why the practical ceiling for a single file is around 18 MB on a 25 MB provider.
A. Tap it in the chats list. That opens a screen for that one chat, showing when it last synced, how many messages have gone out, whether a mail thread already exists for it and which export file it came from. The same three actions are on it: sync just that one chat, reset it, or delete it from the list.
Sync just this chat runs a normal sync limited to that chat, instead of everything waiting in the inbox.
A. Open the chat and choose Reset (forget sync history). This clears the app’s record of that chat. It does not bring its export file back: export the chat again from WhatsApp and share it to the app, and the next sync files it fresh. It does not delete anything already in your mailbox.
Delete the old mail first. This app can only add mail, never remove it, so if the earlier messages are still in your mailbox the next sync files a second copy alongside them. When a chat has already been archived, the app names the folder to clear and asks you to confirm you have cleared it before it will reset.
On Gmail this needs care. Gmail has no real folders, only labels — deleting the label just unlabels the messages and leaves them in All Mail, where the next sync still counts them as duplicates. Open the label, select every conversation, delete them, then empty the Bin.
A. Removing a chat from the list — Delete from list — does not delete anything from your mailbox, so your emails are safe. It does forget which of the chat’s messages were already archived. If you ever import that export again, the app has no record of what it already sent and files a second copy of every message, unless you first delete the old mail in your mailbox. To send a chat again on purpose, use Reset instead: it asks you to clear the mailbox folder first.
A. When you share an export whose chat looks like one you already archived under another name, the app holds the file in the queue and asks “Is this the same chat?” instead of mailing everything a second time by mistake. Home marks the held file “Waiting for your answer” with an “Answer now” button, and a background check posts a notification titled “A chat is waiting for your answer”. “Yes, same chat”: it carries on as that chat, nothing already archived is sent again, and the mailbox folder is renamed to the new name. “No, keep separate”: it is kept as a separate chat, its whole history is mailed again, and you are not asked about that pair again. “Ask me later”, or the Back button, leaves it waiting. It stays hidden if you turn the phone, and comes back the next time you open the app. Tapping outside the box does nothing. If the answer cannot be saved you will see “Couldn’t save your answer. Please try again.” and can answer again. A held export is not synced until you answer.
A. On the sync progress screen, “Cancel sync” asks the app to stop. It stops between emails, so the one being sent finishes first. Whatever has already reached your mailbox stays there and is recorded, so a later sync sends only what is still missing and nothing twice. A file that had not finished stays in the queue. The result then reads “Sync stopped”, Home shows “Last sync stopped by you”, and it is not counted as a failure. Backing out of the progress screen is not the same thing: the sync keeps running in the background.
A. The result begins with a line such as “1 export could not be read and was kept - see Sync log”, and the notification alerts you. This happens when an export reads as zero messages (the log says “no messages found - kept in the inbox”) or cannot be handled. Nothing was sent from that file and it is not deleted. Check that you exported the chat itself as a .txt or .zip, open Settings -> Advanced -> Sync log for the reason, then remove the kept file from the queue with its X and import a fresh export.
A. While a sync runs, a progress notification keeps it going in the background. When it finishes, a “Sync results” notification says, for example, “Sync complete - 12 message(s) synced”. A plain success, or a sync you stopped yourself, is quiet; a failure or a kept export alerts. If a background check holds an export for the same-chat question, “A chat is waiting for your answer” appears. If the watched folder holds an export over 600 MB, which a sync cannot read, a notification says how many were skipped, once until the set changes. None of them carries a chat name. On Android 13 or newer you may be asked to allow notifications; if you decline, syncing still works but you will not see these.
A. The F-Droid build is not available yet: inclusion is in review. These are the steps for when it is. F-Droid signs the app with its own key, so Android will not install it over the GitHub or store build: you must uninstall the old app first, which deletes the record of what has already been sent. Without that record the new app mails every chat a second time. So: (1) in the old app, Settings -> Backup & restore -> “Save a backup”, and choose Downloads or a cloud folder, not the watched folder; the file ends in .cmsbackup and the screen shows a dated line when it is done. (2) Have your app password ready. (3) Uninstall the old app in Android settings. (4) Install the F-Droid build. (5) On the first screen tap “Moving from another phone? Restore from a backup” and pick the file. (6) Enter your app password once, then choose the watched folder again in Settings -> Advanced; both are listed under “Not restored”. The backup holds the sent record, per-chat cutoff dates and your preferences, not the password, the watched folder or your export files. Android’s own system backup may help on some phones, but do not rely on it. If you already uninstalled without a backup, your chats are still in the mailbox; the first sync sends them again, so delete the duplicates or set a cutoff date for each chat first. The full steps are in docs/switching-to-fdroid.md in the project repository.
A. Android 11 or newer, on a 64-bit ARM phone, which covers nearly every current phone. Phones on Android 7 to 10 stay on version 2.2.0.
A. WhatsApp exports don’t include a timezone, so the app reads them against the exporting phone’s local clock. If your phone’s timezone changed between exports, or you export from a different timezone than the chat was recorded in, some timestamps can appear shifted. This is a known limitation of WhatsApp exports, not a bug in the app.
A. Yes — use the CSV export from the chat list to get a spreadsheet of all your synced chats.
A. It cannot read your existing mail, cannot send email on your behalf, and cannot sync continuously in the background — each sync is a one-time pass over whatever is waiting in the inbox. It also cannot remove anything from your mailbox, which is why several answers above ask you to clear a folder by hand.
A. Yes — Settings → Advanced → “Run setup again” reopens it. Nothing is cleared unless you choose to change it: an existing mailbox, watched folder or interval is left exactly as it is unless you complete a new step that changes it, and mail setup offers “Keep current mailbox” if one is already connected.