E-mail function is added, change the database name