Update python_motion.py

Added email support.