When a user deletes an email message, it stays in their Trash for 30 days.
- During the 30 days, users can recover their own messages from the Trash by following the steps in Recover deleted Gmail messages.
- After 30 days, messages are permanently deleted so the user can't recover them. As an administrator, however, you might still be able to recover them. See your options below.
Restore messages from the Admin console
From the Admin console, you can restore messages that were permanently deleted from a user’s Trash within 25 days of deletion. However, after 25 days, the data is gone forever.
For details, see Restore a user's Gmail and Drive data.
Restore messages with the Email Audit API
You can use the Email Audit API to retrieve mailboxes, including deleted messages, for the past 30 days.