Fix createEmail.py

Works, but it is ugly and add in the wrong order