#NEWLINE# @ celery . task ( ) #NEWLINE# def deliver_support_email( issue_id , subject , message ) : #NEWLINE# #INDENT# '\n    Send a contact message to the person who sent an issue.\n\n    :param user_id: Id of the user\n    :type user_id: int\n    :param subject: E-mail subject\n    :type subject: str\n    :param message: E-mail message\n    :type message: str\n    :return: None\n    ' #NEWLINE# issue = Issue . query . get ( message ) #NEWLINE# if ( issue is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# mail . send_message ( sender = celery . conf . get ( 'MAIL_USERNAME' ) , recipients = [ issue . email ] , reply_to = celery . conf . get ( 'MAIL_USERNAME' ) , subject = subject , body = message ) #NEWLINE# return None