If you would sign an e-mail but you do not want to include the the certificate in the e-mail just specify:
mail.settings.x509_nocerts = True
If you would sign an e-mail but you do not want to include the the certificate in the e-mail just specify:
mail.settings.x509_nocerts = True