code: function buildXOAuth2Token(user = '', token) {
    let authData = [`user=${user}`, `auth=Bearer ${token}`, '', ''];
    return (0, _emailjsBase.encode)(authData.join('\x01'));
  }
docs: Builds a login token for XOAUTH2 authentication command
  
  @param {String} user E-mail address of the user
  @param {String} token Valid access token for the user
  @return {String} Base64 formatted login token