emails are stored into a sql file