I've build an (offline)app (HTML/JS). The app allows the user to write a report (event when he is offline). The data from the report is sent via the body of an email to the companies special email address. In the company I collect the emails via an access database that holds the emails inbox. Then the data is read by a python analysis app. The data (collected via a form in the app) is in a human readable format (JSON).
The email might be intercepted when an insecure connection is used (e.g. in an hotel). When this happens I don't want that the interceptor can read the data, therefore I want to have it encrypted.
This form-data-web setup is temporarily, for a test. I am unable to sent the form data back to the server via ssl. I realise this is not water tight and very secure. I can make a ssl connection when the users download the form.
How can I encrypt the data that is sent in the body of a mail ?
How can I decrypt the data when I read the emails in my automated python email reader?