diff --git a/webnotes/utils/email_lib/receive.py b/webnotes/utils/email_lib/receive.py index 7ae696d034..93a393d733 100644 --- a/webnotes/utils/email_lib/receive.py +++ b/webnotes/utils/email_lib/receive.py @@ -29,6 +29,8 @@ class IncomingMail: """ def __init__(self, content): import email + import email.utils + import datetime import time self.mail = email.message_from_string(content)