How to Recover Old Emails
With mailmd How to Delete a Gmail Account Without Losing Your EmailsOn this page
If an old email has disappeared, first check whether it was moved, archived, or deleted. Search the account and check folders such as Archive, Spam, Trash, and Deleted Items. If it was deleted, the recovery window depends on the email provider and account type. Act quickly: some services permanently remove messages after a set period, while work accounts may give an administrator additional recovery options.
The steps depend on the email provider and whether you use a personal account or an account managed by an organization.
Check folders and search before restoring #
Search by sender, a phrase from the subject, or a word in the message. Check all folders, including Spam and Trash, because a message outside the Inbox may still be in the account. If you find it, move it back to the Inbox or another folder.
If the message is missing from every folder, check whether you are signed in to the right account. For a work or school mailbox, contact the organization’s email administrator. The organization may keep messages for different periods and use different recovery tools than a personal account.
Recover deleted Gmail messages #
In Gmail, open Trash and move the message to another folder if you find it. Google says users can recover messages from Trash for 30 days after deletion. After that, the message is permanently deleted from Trash.
After the user’s 30-day period, a Google Workspace administrator with the required privilege has an additional 25 days to restore Gmail data. The administrator selects the user and a date range in the Admin console’s Restore data tool. After that 25-day period, Google says it cannot restore the messages. If the organization uses Google Vault and a retention rule or hold covered the email, an administrator may be able to search for and export it, though Vault does not directly return it to the user’s Gmail account. Google also lists deleted Spam messages and drafts among the data that its restore tool cannot recover. See Google’s Workspace recovery instructions for the exact limits.
Personal Gmail users do not have the Workspace Admin console restore option. If a message is no longer in Trash, the Gmail Message Recovery Tool is another option, but recovery is not guaranteed.
Recover deleted Outlook messages #
In Outlook, check Deleted Items first. If the message is no longer there and the mailbox is connected to an organization’s Exchange Server, ask the administrator to check the mailbox’s recoverable items. Microsoft documents administrator recovery for Exchange Server. Whether recovery works depends on the mailbox’s retention period and settings. The server’s default deleted-item retention is 14 days, but an administrator can configure a different period. For some recovery methods, single item recovery must have been enabled before deletion. Microsoft’s Exchange Server recovery instructions describe the administrator steps.
Outlook.com, Microsoft 365, and Exchange Server have different recovery paths and retention settings. Do not assume the Exchange Server 14-day default applies to a personal Outlook.com account or every Microsoft 365 mailbox. For a work or school account, contact the administrator promptly. Include the sender and subject, along with the approximate date, so they can search for the message.
If you cannot sign in to an Outlook.com or Hotmail account, use Microsoft’s account recovery form. The form handles account access; it does not restore deleted mail. Microsoft says recovery questions may ask for contacts and exact email subject lines; if two-step verification is enabled and you cannot access any alternate verification method, Microsoft support cannot help restore account access.
Request a Yahoo Mail restore #
Yahoo accepts restore requests for messages lost or deleted within the last seven days, regardless of when the messages were originally received. A request is not guaranteed to succeed and cannot be canceled once submitted. Yahoo says restored messages return to the folders they were in during the selected time frame, so check Trash afterward and move recovered messages out of it to keep them from being deleted again. Messages from Spam and Drafts are excluded. Follow Yahoo’s email restore guidance before submitting a request.
Check Trash in iPhone Mail #
If you use Apple Mail on an iPhone, open the account’s Trash mailbox and tap the message. Then move it to another mailbox. You can add an All Trash mailbox to see deleted messages across accounts. Apple notes that email providers set their own deletion rules; iCloud, for example, does not keep deleted messages longer than 30 days, even if the iPhone setting says to keep them indefinitely. See Apple’s instructions for recovering iPhone Mail.
Free and open source
Try mailmd
mailmd is a free command-line tool that copies your email into Markdown files on your computer, one file per message. It works with any IMAP mailbox, and with Gmail and Outlook through their own APIs.
Install
$ curl -fsSL https://raw.githubusercontent.com/vincentsch/mailmd/main/install.sh | sh
Set it up with your coding agent
Set up mailmd so you can read my email. Use https://github.com/vincentsch/mailmd: read its AGENTS.md and follow the steps. Connect my mailbox and run the first sync. Then show me where the files are.