db and email