ecommerce_worker/sailthru/v1/tasks.py
def send_offer_update_email(self, user_email, subject, email_body, site_code=None):
    """ Sends the offer emails after assignment, either for revoking or reminding.
    Args:
        self: Ignore.
        user_email (str): Recipient's email address.
        subject (str): Email subject.
        email_body (str): The body of the email.
        site_code (str): Identifier of the site sending the email.
    """
    config = get_sailthru_configuration(site_code)
    _send_offer_assignment_notification_email(config, user_email, subject, email_body, site_code, self)
def send_offer_update_email(self, user_email, subject, email_body, site_code=None):
    """ Sends the offer emails after assignment, either for revoking or reminding.
    Args:
        self: Ignore.
        user_email (str): Recipient's email address.
        subject (str): Email subject.
        email_body (str): The body of the email.
        site_code (str): Identifier of the site sending the email.
    """
    config = get_sailthru_configuration(site_code)
    _send_offer_assignment_notification_email(config, user_email, subject, email_body, site_code, self)
Sends the offer emails after assignment, either for revoking or reminding.
    Args:
        self: Ignore.
        user_email (str): Recipient's email address.
        subject (str): Email subject.
        email_body (str): The body of the email.
        site_code (str): Identifier of the site sending the email.