Prevent confusing errors in console when creating tables
Alter create statements to be properly escaped

Also changed the way the main table is formatted. "TO" and "FROM" can
not be used as column names, because they are SQL commands.
Changed column names for "mail"

"TO" and "FROM" are SQL commands, and can not be used as column names
/facepalm