support fixes
diff --git a/support/doctype/support_ticket/__init__.py b/support/doctype/support_ticket/__init__.py
index 1136714..81a5050 100644
--- a/support/doctype/support_ticket/__init__.py
+++ b/support/doctype/support_ticket/__init__.py
@@ -22,6 +22,7 @@
 
 class SupportMailbox(POP3Mailbox):
 	def __init__(self):
+		self.email_settings = webnotes.doc("Email Settings")
 		s = webnotes.doc('Support Email Settings')
 		s.use_ssl = self.email_settings.support_use_ssl
 		s.host = self.email_settings.support_host