refactored the read_email method and deprecated permutations of its original structure.