I want to have my application periodically save a zip file to the cloud.
Since I don't want to set my own cloud solution, I thought of doing something similar to what the application SMS Backup does. It saves your Gmail credentials and when a new sms arrives it saves it to your Gmail under a specified Label and also marks it as read.
Now, I know how to send email from Java programmaticaly. My question is how to access Gmail only features such as assigning labels to the message and marking it as read. I imagine there must be some facilities built in to Android to allow you to manipulate the GMail account linked to the phone am i right?