from Email import Email mail = Email('Subject', 'Body') mail.SendMail('*****@*****.**', '*****@*****.**', connection_type='TLS')