Email issues, and database