Add multi to, cc and bcc values, add getParameters function