added email accounts in database (so they do not have to be checked into git)

added diary logic