Change mailsystem used on webforms on a per email basis I'm using the mailsystem module to send webform notification emails using mandrill.

However, for some of our webforms we need to use mandrill for the notification email sent to the users, but send the admin notifications without mandrill, using normal text based emails.

From what I can tell you can only change the mailsystem on a per module or per-key basis, and it seems like all webform emails use the same key -- "submission".

Is there any way to achieve what I want here?

Thanks,
I think you can do this via hook_mail_alter you'll need to write your own implementation but should be possible.

From what I can see in webform.submissions.inc inside webform_submission_send_mail()

// Build the e-mail headers.
    $email['headers'] = theme(array('webform_mail_headers_' . $node-&gt;nid, 'webform_mail_headers'), array('node' =&gt; $node, 'submission' =&gt; $submission, 'email' =&gt; $email));


It should be possible to use hook_mail_alter to choose the right submission and also the e-mail address it's being sent to.