Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias identifier ImportFrom alias alias ImportFrom alias alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr TupleLoad Call NameLoad Str Str keyword NameLoad keyword Str keyword Str decorator_list Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad keyword NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword Num If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr If CompareGt BinOpAdd AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr body Continue Expr Call NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Expr Call NameLoad BinOpMod Str NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num For NameStore NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Str If NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad keyword SubscriptLoad SubscriptLoad NameLoad Index Num Index Num keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body TryExcept body Return Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Return Call AttributeLoad NameLoad attr Str Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad Str attr ListComp Call NameLoad NameLoad BoolOpOr NameLoad Str comprehension TupleStore NameStore NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str attr Str Str attr Str Str attr Str Str attr Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Num Assign TupleStore NameStore NameStore TupleLoad Str Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad body If Call AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Return NameLoad Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore NameLoad Assign NameStore Num Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq Call AttributeLoad NameLoad attr Str CompareEq NameLoad NameLoad body If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad orelse If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num If NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore TupleLoad Str Str Str Str If BoolOpOr CompareIn NameLoad NameLoad CompareIn NameLoad NameLoad body Assign NameStore Num If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Call NameLoad BinOpMod Str Dict Str NameLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad BinOpMod Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad Call AttributeLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Str Str For NameStore NameLoad body If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body If NameLoad body Expr Call NameLoad Str NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str orelse Assign NameStore Call NameLoad Str If AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Jutda Helpdesk - A Django powered ticket tracker for small enterprise.

(c) Copyright 2008 Jutda. All Rights Reserved. See LICENSE for details.

scripts/get_email.py - Designed to be run from cron, this script checks the
                       POP and IMAP boxes defined for the queues within a
                       helpdesk, creating tickets from the new messages (or
                       adding to existing tickets if needed)
 __future__ print_function N/A email N/A imaplib N/A mimetypes N/A poplib N/A re N/A socket datetime timedelta email.header decode_header email.Utils parseaddr collapse_rfc2231_value optparse make_option email_reply_parser EmailReplyParser django.core.files.base ContentFile django.core.management.base BaseCommand django.db.models Q django.utils.translation ugettext _ helpdesk settings N/A N/A django.utils timezone N/A N/A N/A ImportError N/A datetime datetime timezone helpdesk.lib send_templated_mail safe_template_context helpdesk.models Queue Ticket FollowUp Attachment IgnoreEmail Command N/A BaseCommand N/A __init__ N/A N/A self N/A N/A N/A N/A N/A BaseCommand __init__ self N/A N/A self option_list N/A N/A make_option --quiet -q default False action store_true help Hide details about each queue/message as they are processed N/A N/A help Process Jutda Helpdesk queues and process e-mails via POP3/IMAP as required, feeding them into the helpdesk. handle N/A N/A self N/A args options N/A N/A quiet N/A N/A options get quiet False N/A N/A process_email quiet quiet N/A N/A process_email N/A N/A quiet N/A False N/A N/A q N/A N/A N/A Queue objects filter email_box_type__isnull False allow_email_submission True N/A N/A N/A N/A q email_box_last_check N/A N/A N/A q email_box_last_check N/A N/A N/A timezone now N/A timedelta minutes 30 N/A N/A N/A q email_box_interval N/A N/A N/A q email_box_interval 0 N/A queue_time_delta N/A timedelta minutes N/A q email_box_interval N/A N/A N/A N/A q email_box_last_check queue_time_delta N/A N/A timezone now N/A N/A N/A N/A process_queue q quiet quiet N/A N/A q email_box_last_check N/A N/A timezone now N/A N/A N/A q save N/A process_queue N/A N/A q quiet N/A False N/A N/A N/A quiet N/A N/A N/A print N/A Processing: %s q N/A N/A N/A q socks_proxy_type N/A q socks_proxy_host N/A q socks_proxy_port N/A N/A N/A N/A socks N/A N/A N/A ImportError N/A N/A N/A ImportError Queue has been configured with proxy settings, but no socks library was installed. Try to install PySocks via pypi. N/A proxy_type N/A N/A N/A socks4 socks5 N/A socks SOCKS4 N/A socks SOCKS5 get N/A q socks_proxy_type N/A N/A N/A socks set_default_proxy proxy_type proxy_type addr N/A q socks_proxy_host port N/A q socks_proxy_port N/A N/A socket socket N/A socks socksocket N/A N/A N/A socket socket N/A socket _socketobject N/A email_box_type N/A N/A settings QUEUE_EMAIL_BOX_TYPE N/A settings QUEUE_EMAIL_BOX_TYPE N/A q email_box_type N/A N/A email_box_type pop3 N/A N/A N/A N/A q email_box_ssl N/A settings QUEUE_EMAIL_BOX_SSL N/A N/A N/A N/A q email_box_port N/A N/A N/A q email_box_port 995 N/A server N/A N/A poplib POP3_SSL N/A N/A q email_box_host N/A settings QUEUE_EMAIL_BOX_HOST N/A int N/A q email_box_port N/A N/A N/A N/A q email_box_port N/A N/A N/A q email_box_port 110 N/A server N/A N/A poplib POP3 N/A N/A q email_box_host N/A settings QUEUE_EMAIL_BOX_HOST N/A int N/A q email_box_port N/A N/A N/A server getwelcome N/A N/A N/A server user N/A N/A q email_box_user N/A settings QUEUE_EMAIL_BOX_USER N/A N/A N/A server pass_ N/A N/A q email_box_pass N/A settings QUEUE_EMAIL_BOX_PASSWORD N/A messagesInfo N/A N/A N/A server list N/A 1 N/A msg messagesInfo N/A N/A msgNum N/A N/A N/A msg split N/A 0 N/A msgSize N/A N/A N/A msg split N/A 1 N/A full_message N/A N/A join N/A N/A N/A server retr msgNum N/A 1 N/A ticket N/A ticket_from_message message full_message queue q quiet quiet N/A ticket N/A N/A N/A N/A server dele msgNum N/A N/A N/A server quit N/A N/A N/A email_box_type imap N/A N/A N/A N/A q email_box_ssl N/A settings QUEUE_EMAIL_BOX_SSL N/A N/A N/A N/A q email_box_port N/A N/A N/A q email_box_port 993 N/A server N/A N/A imaplib IMAP4_SSL N/A N/A q email_box_host N/A settings QUEUE_EMAIL_BOX_HOST N/A int N/A q email_box_port N/A N/A N/A N/A q email_box_port N/A N/A N/A q email_box_port 143 N/A server N/A N/A imaplib IMAP4 N/A N/A q email_box_host N/A settings QUEUE_EMAIL_BOX_HOST N/A int N/A q email_box_port N/A N/A N/A server login N/A N/A q email_box_user N/A settings QUEUE_EMAIL_BOX_USER N/A N/A q email_box_pass N/A settings QUEUE_EMAIL_BOX_PASSWORD N/A N/A N/A server select N/A q email_box_imap_folder N/A N/A status data N/A N/A server search None NOT DELETED N/A data N/A N/A msgnums N/A N/A N/A data N/A 0 split N/A num msgnums N/A N/A N/A status data N/A N/A server fetch num (RFC822) N/A ticket N/A ticket_from_message message N/A N/A data N/A 0 N/A 1 queue q quiet quiet N/A ticket N/A N/A N/A N/A server store num +FLAGS \Deleted N/A N/A N/A server expunge N/A N/A N/A server close N/A N/A N/A server logout N/A decodeUnknown N/A N/A charset string N/A N/A N/A N/A charset N/A N/A N/A N/A N/A N/A string decode utf-8 ignore N/A N/A N/A N/A N/A N/A string decode iso8859-1 ignore N/A N/A unicode string charset N/A decode_mail_headers N/A N/A string N/A N/A N/A decoded N/A decode_header string N/A N/A N/A join N/A N/A unicode msg N/A charset utf-8 N/A N/A msg charset decoded N/A ticket_from_message N/A N/A message queue quiet N/A N/A N/A msg message N/A message N/A N/A email message_from_string msg N/A subject N/A N/A message get subject N/A _ Created from e-mail N/A subject N/A decode_mail_headers N/A decodeUnknown N/A N/A message get_charset subject N/A subject N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A subject replace Re:  replace Fw:  replace RE:  replace FW:  replace Automatic reply:  strip N/A sender N/A N/A message get from N/A _ Unknown Sender N/A sender N/A decode_mail_headers N/A decodeUnknown N/A N/A message get_charset sender N/A sender_email N/A N/A parseaddr sender N/A 1 N/A N/A body_plain body_html N/A N/A ignore N/A N/A N/A IgnoreEmail objects filter N/A N/A Q queues queue N/A Q queues__isnull True N/A N/A N/A N/A ignore test sender_email N/A N/A N/A ignore keep_in_mailbox N/A N/A False N/A True N/A matchobj N/A N/A re match N/A N/A .*\[ N/A queue slug -(?P<id>\d+)\] subject N/A matchobj N/A N/A ticket N/A N/A matchobj group id N/A N/A ticket None N/A counter 0 N/A files N/A N/A part N/A N/A message walk N/A N/A N/A N/A N/A part get_content_maintype multipart N/A N/A N/A name N/A N/A part get_param name N/A name N/A N/A name N/A collapse_rfc2231_value name N/A N/A N/A N/A N/A part get_content_maintype text N/A name None N/A N/A N/A N/A N/A part get_content_subtype plain N/A N/A body_plain N/A N/A EmailReplyParser parse_reply N/A decodeUnknown N/A N/A part get_content_charset N/A N/A part get_payload decode True N/A N/A body_html N/A N/A part get_payload decode True N/A N/A N/A name N/A N/A ext N/A N/A mimetypes guess_extension N/A N/A part get_content_type N/A name N/A part-%i%s N/A counter ext N/A N/A N/A files append N/A filename content type name N/A N/A part get_payload decode True N/A N/A part get_content_type N/A counter 1 N/A body_plain N/A N/A body body_plain N/A N/A body N/A _ No plain-text email body available. Please see attachment email_html_body.html. N/A body_html N/A N/A N/A N/A files append N/A filename content type N/A _ email_html_body.html body_html text/html N/A now N/A N/A timezone now N/A ticket N/A N/A N/A N/A t N/A N/A N/A Ticket objects get id ticket N/A new False N/A N/A N/A N/A Ticket DoesNotExist N/A N/A ticket None N/A priority 3 N/A smtp_priority N/A N/A message get priority N/A smtp_importance N/A N/A message get importance N/A high_priority_types N/A high important 1 urgent N/A N/A N/A smtp_priority high_priority_types N/A smtp_importance high_priority_types N/A N/A priority 2 N/A N/A ticket None N/A N/A t N/A Ticket title subject queue queue submitter_email sender_email created now description body priority priority N/A N/A N/A t save N/A new True N/A update N/A N/A N/A N/A t status N/A Ticket CLOSED_STATUS N/A N/A N/A t status N/A Ticket REOPENED_STATUS N/A N/A N/A t save N/A f N/A FollowUp ticket t title N/A _ N/A E-Mail Received from %(sender_email)s N/A sender_email sender_email date N/A N/A timezone now public True comment body N/A N/A N/A t status N/A Ticket REOPENED_STATUS N/A N/A N/A f new_status N/A Ticket REOPENED_STATUS N/A N/A f title N/A _ N/A Ticket Re-Opened by E-Mail Received from %(sender_email)s N/A sender_email sender_email N/A N/A N/A f save N/A N/A quiet N/A N/A N/A print N/A N/A N/A  [%s-%s] %s N/A N/A N/A t queue slug N/A t id N/A t title encode ascii replace N/A file files N/A N/A N/A file N/A content N/A N/A filename N/A N/A N/A N/A N/A file N/A filename encode ascii replace replace _ N/A filename N/A N/A re sub [^a-zA-Z0-9._-]+ filename N/A a N/A Attachment followup f filename filename mime_type N/A file N/A type size N/A len N/A file N/A content N/A N/A N/A N/A a file save filename N/A ContentFile N/A file N/A content save False N/A N/A N/A a save N/A N/A quiet N/A N/A N/A print N/A     - %s filename N/A context N/A safe_template_context t N/A new N/A N/A sender_email N/A N/A N/A send_templated_mail newticket_submitter context recipients sender_email sender N/A queue from_address fail_silently True N/A N/A queue new_ticket_cc N/A N/A N/A send_templated_mail newticket_cc context recipients N/A queue new_ticket_cc sender N/A queue from_address fail_silently True N/A N/A N/A queue updated_ticket_cc N/A N/A queue updated_ticket_cc N/A queue new_ticket_cc N/A N/A N/A send_templated_mail newticket_cc context recipients N/A queue updated_ticket_cc sender N/A queue from_address fail_silently True N/A N/A N/A N/A context update comment N/A f comment N/A N/A N/A t status N/A Ticket REOPENED_STATUS N/A N/A update N/A _  (Reopened) N/A N/A update N/A _  (Updated) N/A N/A t assigned_to N/A N/A N/A send_templated_mail updated_owner context recipients N/A N/A t assigned_to email sender N/A queue from_address fail_silently True N/A N/A queue updated_ticket_cc N/A N/A N/A send_templated_mail updated_cc context recipients N/A queue updated_ticket_cc sender N/A queue from_address fail_silently True N/A t N/A N/A N/A __name__ __main__ N/A N/A N/A process_email