stored emails in database