autopep8.
Repaired search for tags in mail footer
pep8 conformant.