Email-sending class in Python.