lib/transports/transport.js
function formatInboundRecipients(recipients) {
  return _.map(recipients, (recipient) => {
    if (_.isString(recipient)) {
      return {
        email: recipient,
        name: '',
      };
    }
    else {
      return {
        email: recipient.address || '',
        name: recipient.name || ''
      }
    }
  });
}
function formatInboundRecipients(recipients) {
  return _.map(recipients, (recipient) => {
    if (_.isString(recipient)) {
      return {
        email: recipient,
        name: '',
      };
    }
    else {
      return {
        email: recipient.address || '',
        name: recipient.name || ''
      }
    }
  });
}
function formatInboundRecipients ( recipients ) { return _ . map ( recipients , ( recipient ) => { if ( _ . isString ( recipient ) ) { return { email : recipient , name : '' , } ; } else { return { email : recipient . address || '' , name : recipient . name || '' } } } ) ; }
takes an array of emails and formats them to the fuse recipient pattern

@param {string[]} recipients
@param {object[]} recipients
takes an array of emails and formats them to the fuse recipient pattern