Adding email functionality
Returning Array instead of json on data
Getting rid of hardcoding about codTipoComprob for BACTSSA
Adding testing for objects