Minor fix for SQLDB.
Commiting required library files for email composer.
Initial work on emailing complete.
See email for further information on how to get it working on phone.