[WO-399] Added support for custom headers

  * Allow passing custom headers to mailbuild
  * Use correct `protocol` param with `multipart/encrypted`