Update emailer.py

Added comments and description