Notions update and sending email from cloudfoundry apps