I found the answer on another thread. So far it works, but it remains to be seen
1) Quit Mail.app.
2) Log into Gmail in your favorite web browser.
3) Click on the gear menu and select "Settings".
4) Click on the "Labels" tab.
5) Under "System Labels", next to "Drafts", click on "show if unread" and uncheck the "Show in IMAP' box.
Now disable "Store draft messages on the server":
6) Launch Mail.app.
7) Select Mail > Preferences...
8) Click on the "Accounts" button in the toolbar.
9) Click once on the account name and then click the "Mailbox Behaviors" tab.
10) Uncheck the "Store draft messages on the server" box.
11) Close the window and opt to save your changes when prompted.
Thanks for a very clear and full description
Unfortunatly, It does not work for me, same problem, the box always reverts to being checked.
Welcome to the real world
Apple and Google are in a legitimate battle for supremacy, but that includes each making their web "Unique". Which means we loose.
This works as long as Gmail checkbox is ticked off from "Show in IMAP". As soon as this is switched on again, Apple restore the setting.
This is senseless as if I need to keep showing the draft folder to move items I need to save and pass through different computer while composing.
Unfortunately the fault is both from Apple and Google. The latter doesn't seem they have implemented an IMAP protocol that follow the standards, whereas Apple does refuse to follow users instruction reverting setting to what they believe it should be the best.
The reality is experienced and non experienced users that suffer the pain of two companies that are fighting against each other. This is blatantly stupid.
Apple took a year to release Maverick and nobody from the mail team spent a second looking through the Gmail suggested settings.
To be clear, I don't have anything against saving draft on the server, but because of this protocol discrepancy, when Apple Mail start saving draft they are not overwritten in the folder, but a delete command is sent for the previous draft. As a result of this, by looking at the Gmail message with the official Google app, loads of draft will appear too. There is a trick I found to remove them, but this is annoying as much as seeing all my messages have pending drafts.
Hope somebody of these two company decide to fix this issue in a way or another.
Great hack, good stuff.
This morning I spent an hour composing an email, so at ~2 autosaves per minute, I have about 130 drafts in the trash. It's ridiculous and should be a no-brainer to fix.
I can't help but feel that Apple doesn't truly care to support any email services that aren't iCloud. Seriously, who uses iCloud email?
"Great hack, good stuff."
this is not a hack, just making sure that the settings are ok on both sides (server and user).
The setting has a negative though: when you have a brittle internet connection, after a short disconnect you have to redo the email(s) you were writing.
But since most people have a good sturdy internet connection, this is better.