reading email settings from file