Update foundation_email.py

Added email functions and explanatory #.