Fix the version_str assignment in mail.py