In Gmail settings in the POP/IMAP section you also have this. I'm not sure if Sync looks at the way these settings are set to.
Status: IMAP is enabled
Enable IMAP
Disable IMAP
When I mark a message in IMAP as deleted:
Auto-Expunge on - Immediately update the server. (default)
Auto-Expunge off - Wait for the client to update the server.
When a message is marked as deleted and expunged from the last visible IMAP folder:
Archive the message (default)
Move the message to the Trash
Immediately delete the message forever
Folder Size Limits
Do not limit the number of messages in an IMAP folder (default)
Limit IMAP folders to contain no more than this many messages
EDIT:
I stand corrected. Here is a chart on how the commands are handled.
Action on mobile device/client (e.g. iPhone/Outlook) Result in Gmail on the web
Open a message Mark a message as read
Move message to Starred Apply a star to the message
Move a message to a folder Apply a label to the message
Move a message to Spam Report a message as spam
Move a message to Trash Message will be archived.
Send a message Store message in Sent Mail
Delete a message in inbox Move that message to Archive
Delete a message from a folder Remove that label from the message
Delete a message from [All Mail] Move the message to Trash
Delete a message from Spam or Trash Delete the message permanently
Status: IMAP is enabled
Enable IMAP
Disable IMAP
When I mark a message in IMAP as deleted:
Auto-Expunge on - Immediately update the server. (default)
Auto-Expunge off - Wait for the client to update the server.
When a message is marked as deleted and expunged from the last visible IMAP folder:
Archive the message (default)
Move the message to the Trash
Immediately delete the message forever
Folder Size Limits
Do not limit the number of messages in an IMAP folder (default)
Limit IMAP folders to contain no more than this many messages
EDIT:
I stand corrected. Here is a chart on how the commands are handled.
Action on mobile device/client (e.g. iPhone/Outlook) Result in Gmail on the web
Open a message Mark a message as read
Move message to Starred Apply a star to the message
Move a message to a folder Apply a label to the message
Move a message to Spam Report a message as spam
Move a message to Trash Message will be archived.
Send a message Store message in Sent Mail
Delete a message in inbox Move that message to Archive
Delete a message from a folder Remove that label from the message
Delete a message from [All Mail] Move the message to Trash
Delete a message from Spam or Trash Delete the message permanently
Last edited: