def notify(self, subject, msg): email = Mail.SMTP(config) email.subject(subject) email.content(msg) email.send()