refactored email formatting and wording for various conditions
continuing calculator unit testings