You can retrieve your Gmail messages with a client or device that supports IMAP, like Microsoft, Outlook or Apple Mail. Gmail (www.Gmail.com) offers more options for IMAP through an experimental add-on from Gmail Labs, “Advanced IMAP Controls”. The IMAP protocol allows messages to be marked for deletion, a sort of limbo state where a message is still present in the folder but slated to be deleted the next time the folder is expunged. In IMAP implementation, when you mark a message as deleted, Gmail doesn’t let it linger in that state, it deletes it from the folder right away.
If you want two stage delete process, after you have enabled this Lab, just select ‘Do not automatically expunge messages’ under the ‘Forwarding and POP/IMAP’ tab in settings. If a message is removed from the inbox or from the inbox or from a custom IMAP folder, Gmail still keeps it in “All Mail”. You can now change the default behavior and instruct Gmail to send the message to the trash or to delete the message forever. Do save draft messages on the server. If you want your drafts in your mail clients to sync correctly with Gmail’s web interface, set your client to save drafts to the folder.