code: function buildHeaderValue(structured) {
    var paramsArray = [];
  
    Object.keys(structured.params || {}).forEach(function (param) {
      // filename might include unicode characters so it is a special case
      if (param === 'filename') {
        (0, _emailjsMimeCodec.continuationEncode)(param, structured.params[param], 50).forEach(function (encodedParam) {
          // continuation encoded strings are always escaped, so no need to use enclosing quotes
          // in fact using quotes might end up with invalid filenames in some clients
          paramsArray.push(encodedParam.key + '=' + encodedParam.value);
        });
      } else {
        paramsArray.push(param + '=' + escapeHeaderArgument(structured.params[param]));
      }
    });
  
    return structured.value + (paramsArray.length ? '; ' + paramsArray.join('; ') : '');
  }
docs: Joins parsed header value together as 'value; param1=value1; param2=value2'
  
  @param {Object} structured Parsed header value
  @return {String} joined header value