It depends on the provider. For Apple Mail and Gmail, deleted emails stay in the app’s Trash folder for 30 days. On the other hand, AOL and Yahoo only keep deleted emails for 7 days.