Pass  through edd_apply_email_template(). Maybe this time it will work