def send_email_for_after_purchase_organizers(email, buyer_email, invoice_id, order_url, event_name, event_organiser):
 send_email(to=email, action=TICKET_PURCHASED_ORGANIZER, subject=MAILS[TICKET_PURCHASED_ORGANIZER]['subject'].format(invoice_id=invoice_id, event_name=event_name, buyer_email=buyer_email), html=MAILS[TICKET_PURCHASED_ORGANIZER]['message'].format(order_url=order_url, buyer_email=buyer_email, event_name=event_name, event_organiser=event_organiser))

def send_email_for_after_purchase_organizers ( email , buyer_email , invoice_id , order_url , event_name , event_organiser ) : send_email ( to = email , action = TICKET_PURCHASED_ORGANIZER , subject = MAILS [ TICKET_PURCHASED_ORGANIZER ] [ 'subject' ] . format ( invoice_id = invoice_id , event_name = event_name , buyer_email = buyer_email ) , html = MAILS [ TICKET_PURCHASED_ORGANIZER ] [ 'message' ] . format ( order_url = order_url , buyer_email = buyer_email , event_name = event_name , event_organiser = event_organiser ) )
send email with order invoice link after purchase .