A simple python script for interacting with a remote IMAP server to add messages compatible with Apples Notes app on IOS and MacOS X.
You can create a config file in ~/.mapplenotes e.g.:
[imapserver.hostname.com]
username: imap username
mail_from: email address
Then invoke ./mapplenotes.py imapserver.hostname.com