updating the email template and moving some functions into tools
using high quality images now, refactoring code into tools object, creating the backup functionality
adding indexes