Mail accounts

added minimal functionality of mail accunts