


(While doing that, you might also want to choose to map the other folders Drafts -> Drafts, Sent Mail -> Sent, and Spam -> Junk, although none of those really has anything to do with this issue of permanently deleting mail. Next, tap Account > Advanced and select Deleted Mailbox or Archive Mailbox. Select the Trash folder, then choose in the top menu Mailbox > Use This Mailbox For > Trash. To make a selection, go to Settings > Accounts & Passwords and tap on your email account. Find the Gmail account, and look in the folder. Next, in Apple Mail, you will need to "Show" the sidebar that lists accounts and folders if it's not visible already. (Move deleted messages to the Trash mailbox and Store deleted messages on the server.) The option to "Permanently erase deleted messages when:" can be set to whatever duration you wish, but I'm using "One day old" to give me a few hours to change my mind if I need to fetch a message back from the dead. Once again, go to Mail > Preferences and select Accounts, then click on the email account we’re interested in in this case, iCloud. In Apple Mail, under Mail > Preferences > Accounts > Mailbox Behaviors, make sure that both options are checked "On" for Trash. Now we’re going to set this new mailbox to be our Archive mailbox, and all of our important emails can be archived in a specific place. Don't forget to "Save Changes" if you've adjusted anything. In the menu that appears, choose Settings. You should have already enabled IMAP in Gmail via Mail Settings > Forwarding and POP/IMAP > IMAP Access. Log in to Gmail in a desktop Web browser, and click the gear icon on the right of the page, just below your Google Account avatar.
