add database connection to myemail