diff --git a/mandrill.module b/mandrill.module
index 0c7428f..0efb3be 100644
--- a/mandrill.module
+++ b/mandrill.module
@@ -570,25 +570,31 @@ function mandrill_mail_key_blacklist() {
  * Helper to generate an array of recipients.
  *
  * @param mixed $to
- *   a comma delimited list of email addresses in 1 of 2 forms:
+ *   a comma delimited list of email addresses in 1 of 3 forms:
  *   user@domain.com
  *   any number of names <user@domain.com>
+ *   an associative array like [ email => user@domain.com, name = >user name]
  *
  * @return array
  *   array of email addresses
  */
 function mandrill_get_to($to) {
-  $recipients = array();
-  $to_array = explode(',', $to);
-  foreach ($to_array as $email) {
-    if (preg_match(MANDRILL_EMAIL_REGEX, $email, $matches)) {
-      $recipients[] = array(
-        'email' => $matches[2],
-        'name' => $matches[1],
-      );
-    }
-    else {
-      $recipients[] = array('email' => $email);
+  $recipients = array();
+  if (is_array($to)) {
+    $recipients = $to;
+  }
+  else {
+    $to_array = explode(',', $to);
+    foreach ($to_array as $email) {
+      if (preg_match(MANDRILL_EMAIL_REGEX, $email, $matches)) {
+        $recipients[] = array(
+          'email' => $matches[2],
+          'name' => $matches[1],
+        );
+      }
+      else {
+        $recipients[] = array('email' => $email);
+      }
     }
   }
   return $recipients;
