I always use gmail to save web clips or notes. I simply create a new mail, edit it and save as draft. Over 2 years I've dumped 1000+ messages in my Gmail draft folder. I want to programmatically send all of them to myself. I did some research, and now I'm able to use python or c# to load my gmail inbox messages via IMAP, or create a mail and send it via SMTP. However I'm still not able to read draft messages and send them to myself.
(Why am I using GMail as note storage instead of note apps such as evernote, MS onenote, or Apple notes? Because email is better supported across any platforms or devices. There are usually pre-installed email clients, and it's easier to find or define a "create new mail" keyboard shortcut than an "export to evernote" keyboard shortcut.)