from email.message import EmailMessage from email.headerregistry import Address msg = EmailMessage() msg[\'From\'] = Address("Pepé Le Pew", "pepe",