Began work with the Email module

Need to encase the module in a function.