I very confused with one thing. I create a message and attach three files to it. Then i call method Users.messages: list from Gmail API and see one my message with label "Draft" and 3 messages with subject "Attachment" and label "Trash".
Questions:
Why did i get my attachments as message in trash ?
How can i filter such message/attachment when retrieve message list from Gmail Api ?