Mail keeps setting "Save drafts on the server" checked
Another good option that fixed the problem for me is as follows:


Quit Mail.app.
Log into Gmail in your favorite web browser.
Click on the gear menu and select Settings.
Click on the Labels tab.
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.
Launch Mail.app.
Select Mail → Preferences…
Click on the Accounts button in the toolbar.
Click once on the account name and then click the Mailbox Behaviors tab.
Uncheck the Store draft messages on the server box.
Close the window and opt to save your changes when prompted.


Source: Apple Support Communities: Mavericks Mail app and Gmail Drafts folder