> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mailgun

> 89 actions available for Mailgun through StackOne. Use via Actions RPC, Toolset SDK, MCP, or A2A.

export const GettingStarted = ({connector}) => {
  const linkStyle = {
    textDecoration: 'none'
  };
  const authConfigGuides = connector?.authentication?.filter(a => a?.setupGuide) ?? [];
  const linkAccountGuides = connector?.authentication?.filter(a => a?.configGuide) ?? [];
  return <div style={{
    marginTop: '32px',
    paddingTop: '24px'
  }} className="getting-started-section">
      <div style={{
    fontSize: '20px',
    fontWeight: '600',
    marginBottom: '12px'
  }}>Getting Started</div>
      <Steps>
        <Step title="Create or Select a Project">
          Set up a new project or select an existing one. See the <a href="/guides/managing-projects" style={linkStyle}>Projects Guide</a>.
        </Step>
        <Step title="Configure the Connector">
          <>
            Enable the connector and set up auth configuration in your project. See <a href="/guides/explore-connectors" style={linkStyle}>Managing Connectors</a>.
            {authConfigGuides.length > 0 && <>
              <Columns cols={2}>
                {authConfigGuides.map(auth => <Card title="Auth Config" href={`/${auth.setupGuide}`} icon={connector.icon} horizontal>
                    {connector.name} - {auth.label}
                  </Card>)}
              </Columns> 
              </>}
          </>
        </Step>
        <Step title="Link an Account">
          <>
            Connect an account using <a href="/guides/embedding-stackone-hub" style={linkStyle}>StackOne Hub</a> or <a href="/guides/auth-link" style={linkStyle}>Auth Link</a>.
            {linkAccountGuides.length > 0 && <>
                <Columns cols={2}>
                  {linkAccountGuides.map(auth => <Card title="Link Account" href={`/${auth.configGuide}`} icon={connector.icon} horizontal>
                      {connector.name} - {auth.label}
                    </Card>)}
                </Columns>
              </>}
          </>
        </Step>
        <Step title="Use Actions">
          <>
            Invoke actions using one of the methods below:
            <ul style={{
    marginTop: '8px',
    paddingLeft: '20px'
  }}>
              <li style={{
    marginBottom: '4px'
  }}><a href="/mcp/quickstart" style={linkStyle}>MCP</a> – Model Context Protocol for AI assistants</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/a2a/quickstart" style={linkStyle}>A2A</a> – Agent-to-Agent protocol</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/agents/typescript/introduction" style={linkStyle}>AI Toolset (TypeScript)</a> – TypeScript SDK for AI agents</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/agents/python/introduction" style={linkStyle}>AI Toolset (Python)</a> – Python SDK for AI agents</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/platform/api-reference/actions/make-an-rpc-call-to-an-action" style={linkStyle}>Actions RPC</a> – Direct API calls</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/guides/playground" style={linkStyle}>Playground</a> – Test actions in the dashboard</li>
            </ul>
          </>
        </Step>
      </Steps>
    </div>;
};

export const ActionsLibrary = ({search, setSearch, filtered, sharedStyles = {}, KeyCell, ScopesCell, availableScopes, selectedScopes, setSelectedScopes}) => {
  const libraryStyles = {
    section: {
      marginTop: '24px',
      marginBottom: '16px'
    },
    sectionTitle: {
      fontSize: '18px',
      fontWeight: '600',
      marginBottom: '12px'
    },
    filterRow: {
      display: 'flex',
      gap: '12px',
      marginBottom: '12px',
      alignItems: 'stretch'
    },
    count: {
      fontSize: '12px',
      marginBottom: '8px'
    },
    tableContainer: {
      maxHeight: '500px',
      overflowY: 'auto',
      overflowX: 'auto',
      borderRadius: '8px',
      fontSize: '13px'
    },
    gridTable: {
      display: 'grid',
      minWidth: '600px',
      gridTemplateColumns: '200px 1fr'
    },
    gridTableWithScopes: {
      gridTemplateColumns: '200px 1fr 150px'
    },
    gridHeader: {
      display: 'contents'
    },
    gridHeaderCell: {
      position: 'sticky',
      top: 0,
      padding: '10px 12px',
      fontWeight: '600',
      zIndex: 1
    },
    gridRow: {
      display: 'contents'
    },
    gridCellAction: {
      padding: '10px 12px',
      fontWeight: '500'
    },
    gridCellKey: {
      padding: '10px 12px'
    },
    gridCellScopes: {
      padding: '10px 12px',
      fontSize: '12px'
    },
    gridCellDescription: {
      padding: '10px 12px'
    }
  };
  const styles = {
    ...libraryStyles,
    ...sharedStyles
  };
  const safeAvailableScopes = Array.isArray(availableScopes) ? availableScopes : [];
  const safeSelectedScopes = Array.isArray(selectedScopes) ? selectedScopes : [];
  const hasScopesColumn = safeAvailableScopes.length > 0;
  const hasScopeFilter = safeAvailableScopes.length > 0 && typeof setSelectedScopes === 'function';
  const ScopesCellComponent = ScopesCell || (() => null);
  return <div style={styles.section}>
      <div style={styles.sectionTitle}>Actions</div>
      <div style={styles.filterRow}>
        <SearchBar value={search} onChange={setSearch} placeholder="Search actions" />
        {hasScopeFilter && <FilterDropdown label="Scopes" items={safeAvailableScopes} selectedItems={safeSelectedScopes} onChange={setSelectedScopes} searchPlaceholder="Search scopes..." emptyLabel="No scopes found" />}
      </div>
      <div style={styles.count} className="actions-library-count">
        {filtered.length === 0 ? '0 actions found' : `${filtered.length} action${filtered.length !== 1 ? 's' : ''}`}
      </div>
      {}
      <div className="not-prose actions-library-table-container" style={styles.tableContainer}>
        <div style={{
    ...hasScopesColumn ? {
      ...styles.gridTable,
      ...styles.gridTableWithScopes
    } : styles.gridTable
  }}>
          {}
          <div style={styles.gridHeader}>
            <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Action</div>
            <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Description</div>
            {hasScopesColumn && <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Required scopes</div>}
          </div>
          {}
          {filtered.map(a => <div key={a.id} style={styles.gridRow}>
              <div style={styles.gridCellAction} className="actions-library-grid-cell">
                <div>{a.label}</div>
                <div style={{
    marginTop: '4px'
  }}>
                  <KeyCell id={a.id} />
                </div>
              </div>
              <div style={styles.gridCellDescription} className="actions-library-grid-cell actions-library-grid-cell--description">{a.description}</div>
              {hasScopesColumn && <div style={styles.gridCellScopes} className="actions-library-grid-cell actions-library-grid-cell--scopes">
                  <ScopesCellComponent scopes={a.requiredScopes} actionId={a.id} />
                </div>}
            </div>)}
        </div>
      </div>
    </div>;
};

export const FilterDropdown = ({label, items, selectedItems, onChange, searchPlaceholder = 'Search...', emptyLabel = 'No items found', formatLabel}) => {
  const [dropdownOpen, setDropdownOpen] = React.useState(false);
  const [search, setSearch] = React.useState('');
  const [hoveredItem, setHoveredItem] = React.useState(null);
  const dropdownRef = React.useRef(null);
  const styles = {
    dropdownContainer: {
      position: 'relative'
    },
    dropdownTrigger: {
      display: 'flex',
      alignItems: 'center',
      gap: '8px',
      padding: '10px 14px',
      borderRadius: '8px',
      fontSize: '14px',
      cursor: 'pointer',
      whiteSpace: 'nowrap',
      minWidth: '160px',
      justifyContent: 'space-between'
    },
    dropdownMenu: {
      position: 'absolute',
      top: '100%',
      right: 0,
      marginTop: '4px',
      borderRadius: '8px',
      zIndex: 50,
      minWidth: '220px',
      maxHeight: '320px',
      display: 'flex',
      flexDirection: 'column'
    },
    dropdownHeader: {
      padding: '8px 12px'
    },
    selectActions: {
      display: 'flex',
      alignItems: 'center',
      gap: '8px',
      marginTop: '6px',
      fontSize: '12px'
    },
    selectActionBtn: {
      background: 'none',
      border: 'none',
      cursor: 'pointer',
      padding: '2px 4px',
      fontSize: '12px'
    },
    dropdownSearchInput: {
      width: '100%',
      padding: '8px 10px',
      borderRadius: '6px',
      fontSize: '13px',
      outline: 'none'
    },
    dropdownList: {
      overflowY: 'auto',
      maxHeight: '220px',
      padding: '4px 0'
    },
    dropdownItem: {
      display: 'flex',
      alignItems: 'center',
      gap: '10px',
      padding: '8px 12px',
      cursor: 'pointer',
      fontSize: '13px',
      transition: 'background-color 0.1s'
    },
    checkbox: {
      width: '16px',
      height: '16px',
      borderRadius: '4px',
      display: 'flex',
      alignItems: 'center',
      justifyContent: 'center',
      flexShrink: 0
    },
    checkmark: {
      color: 'white',
      fontSize: '10px',
      fontWeight: 'bold'
    },
    dropdownFooter: {
      padding: '8px 12px',
      display: 'flex',
      justifyContent: 'space-between',
      alignItems: 'center'
    },
    clearButton: {
      fontSize: '12px',
      cursor: 'pointer',
      padding: '4px 8px',
      borderRadius: '4px',
      border: 'none',
      background: 'none'
    },
    badge: {
      fontSize: '11px',
      fontWeight: '600',
      padding: '2px 6px',
      borderRadius: '10px',
      marginLeft: '4px'
    },
    chevron: {
      fontSize: '10px',
      transition: 'transform 0.15s'
    },
    noResults: {
      padding: '12px',
      textAlign: 'center',
      fontSize: '13px'
    }
  };
  const safeSelected = Array.isArray(selectedItems) ? selectedItems : [];
  const formatItemLabel = item => {
    if (typeof formatLabel === 'function') {
      return formatLabel(item);
    }
    return item;
  };
  const filteredItems = React.useMemo(() => {
    if (!search) return items;
    const searchLower = search.toLowerCase();
    return items.filter(item => {
      const labelText = formatItemLabel(item);
      return labelText.toLowerCase().includes(searchLower);
    });
  }, [items, search, formatLabel]);
  const isSelected = item => safeSelected.includes(item);
  const toggleItem = item => {
    const next = isSelected(item) ? safeSelected.filter(v => v !== item) : [...safeSelected, item];
    onChange(next);
  };
  const clearFilters = () => {
    onChange([]);
  };
  const selectAll = () => {
    onChange(items);
  };
  React.useEffect(() => {
    const handleClickOutside = e => {
      if (dropdownRef.current && !dropdownRef.current.contains(e.target)) {
        setDropdownOpen(false);
        setSearch('');
        setHoveredItem(null);
      }
    };
    document.addEventListener('mousedown', handleClickOutside);
    return () => document.removeEventListener('mousedown', handleClickOutside);
  }, []);
  return <div style={styles.dropdownContainer} ref={dropdownRef}>
      <button type="button" onClick={() => setDropdownOpen(!dropdownOpen)} style={styles.dropdownTrigger} className={`filter-dropdown__trigger${safeSelected.length > 0 ? ' filter-dropdown__trigger--active' : ''}`}>
        <span>
          {label}
          {safeSelected.length > 0 && <span style={styles.badge} className="filter-dropdown__badge">{safeSelected.length}</span>}
        </span>
        <span style={{
    ...styles.chevron,
    transform: dropdownOpen ? 'rotate(180deg)' : 'rotate(0deg)'
  }} className="filter-dropdown__chevron">
          ▼
        </span>
      </button>
      {dropdownOpen && <div style={styles.dropdownMenu} className="filter-dropdown__menu">
          <div style={styles.dropdownHeader} className="filter-dropdown__header">
            <input type="text" placeholder={searchPlaceholder} value={search} onChange={e => setSearch(e.target.value)} style={styles.dropdownSearchInput} className="filter-dropdown__search" autoFocus />
            <div style={styles.selectActions}>
              <button type="button" onClick={selectAll} style={styles.selectActionBtn} className="filter-dropdown__action-btn">
                Select all
              </button>
              <span className="filter-dropdown__separator">|</span>
              <button type="button" onClick={clearFilters} style={styles.selectActionBtn} className="filter-dropdown__action-btn">
                Clear
              </button>
            </div>
          </div>
          <div style={styles.dropdownList}>
            {filteredItems.length === 0 ? <div style={styles.noResults} className="filter-dropdown__no-results">{emptyLabel}</div> : filteredItems.map(item => {
    const itemClass = ['filter-dropdown__item', hoveredItem === item ? 'filter-dropdown__item--hovered' : '', isSelected(item) ? 'filter-dropdown__item--selected' : ''].filter(Boolean).join(' ');
    const checkboxClass = `filter-dropdown__checkbox${isSelected(item) ? ' filter-dropdown__checkbox--checked' : ''}`;
    return <div key={item} onClick={() => toggleItem(item)} onMouseEnter={() => setHoveredItem(item)} onMouseLeave={() => setHoveredItem(null)} style={styles.dropdownItem} className={itemClass}>
                    <div style={styles.checkbox} className={checkboxClass}>
                      {isSelected(item) && <span style={styles.checkmark}>✓</span>}
                    </div>
                    <span>{formatItemLabel(item)}</span>
                  </div>;
  })}
          </div>
        </div>}
    </div>;
};

export const SearchBar = ({value, onChange, placeholder = 'Search...'}) => {
  const baseStyle = {
    padding: '10px 14px',
    borderRadius: '8px',
    fontSize: '14px',
    outline: 'none',
    flex: 1,
    minWidth: 0
  };
  return <input type="text" placeholder={placeholder} value={value} onChange={e => onChange(e.target.value)} style={baseStyle} className="search-bar" />;
};

export const ConnectorPage = ({connector}) => {
  const styles = {
    header: {
      display: 'flex',
      alignItems: 'center',
      gap: '12px',
      marginBottom: '24px'
    },
    tagsRow: {
      display: 'flex',
      flexWrap: 'wrap',
      gap: '6px',
      marginTop: '8px'
    },
    releaseTag: {
      display: 'inline-block',
      padding: '2px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      fontWeight: '500'
    },
    categoryTag: {
      display: 'inline-block',
      padding: '2px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      fontWeight: '500'
    },
    icon: {
      width: '48px',
      height: '48px',
      borderRadius: '10px',
      padding: '2px'
    },
    title: {
      fontSize: '24px',
      fontWeight: '600'
    },
    subtitle: {
      fontSize: '14px'
    },
    authDescription: {
      fontSize: '14px',
      marginTop: 0
    },
    sectionTitle: {
      fontSize: '18px',
      fontWeight: '600',
      marginBottom: '12px'
    },
    codeWrapper: {
      position: 'relative',
      display: 'inline-flex',
      alignItems: 'center',
      maxWidth: '100%',
      cursor: 'pointer',
      overflowX: 'auto',
      overflowY: 'hidden',
      msOverflowStyle: 'none',
      scrollbarWidth: 'none'
    },
    code: {
      padding: '4px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      display: 'inline-block',
      whiteSpace: 'nowrap',
      transition: 'background-color 0.15s'
    },
    tooltip: {
      position: 'absolute',
      top: '100%',
      left: '50%',
      transform: 'translateX(-50%)',
      padding: '6px 10px',
      borderRadius: '6px',
      fontSize: '11px',
      whiteSpace: 'nowrap',
      marginTop: '6px',
      zIndex: 50,
      maxWidth: '300px',
      wordBreak: 'break-all'
    },
    tooltipArrow: {
      position: 'absolute',
      bottom: '100%',
      left: '50%',
      transform: 'translateX(-50%)',
      borderWidth: '5px',
      borderStyle: 'solid',
      zIndex: 50
    }
  };
  const [search, setSearch] = React.useState('');
  const [copiedId, setCopiedId] = React.useState(null);
  const [selectedScopes, setSelectedScopes] = React.useState([]);
  const availableScopes = React.useMemo(() => {
    const set = new Set();
    connector.actions.forEach(a => {
      if (Array.isArray(a.requiredScopes)) {
        a.requiredScopes.forEach(s => {
          if (s) set.add(s);
        });
      }
    });
    return Array.from(set).sort();
  }, [connector.actions]);
  const filtered = React.useMemo(() => {
    const searchLower = search.toLowerCase();
    return connector.actions.filter(a => {
      const matchesSearch = a.label.toLowerCase().includes(searchLower) || a.description.toLowerCase().includes(searchLower) || a.id.toLowerCase().includes(searchLower);
      if (!matchesSearch) return false;
      if (selectedScopes.length === 0) return true;
      const scopes = Array.isArray(a.requiredScopes) ? a.requiredScopes : [];
      if (scopes.length === 0) return false;
      return selectedScopes.some(scope => scopes.includes(scope));
    });
  }, [connector.actions, search, selectedScopes]);
  const handleImageError = e => {
    e.target.style.display = 'none';
  };
  const formatCategoryLabel = cat => {
    const acronyms = ['ai', 'ats', 'crm', 'hris', 'iam', 'lms'];
    if (acronyms.includes(cat.toLowerCase())) {
      return cat.toUpperCase();
    }
    return cat.replace(/_/g, ' ').replace(/\b\w/g, c => c.toUpperCase());
  };
  const ReleaseTag = () => {
    if (!connector.releaseStage || connector.releaseStage === 'ga') return null;
    const variantClass = connector.releaseStage === 'beta' ? 'connector-page-tag-beta' : 'connector-page-tag-preview';
    return <span style={styles.releaseTag} className={variantClass}>
        {connector.releaseStage.charAt(0).toUpperCase() + connector.releaseStage.slice(1)}
      </span>;
  };
  const CategoryTags = () => {
    if (!connector.categories || connector.categories.length === 0) return null;
    return <>
        {connector.categories.map(cat => <span key={cat} style={styles.categoryTag} className="connector-page-category-tag">
            {formatCategoryLabel(cat)}
          </span>)}
      </>;
  };
  const copyToClipboard = async (text, id) => {
    try {
      await navigator.clipboard.writeText(text);
      setCopiedId(id);
      setTimeout(() => setCopiedId(null), 1500);
    } catch (err) {
      console.error('Failed to copy:', err);
    }
  };
  const CopyChip = ({text, copyId}) => {
    const [isHovered, setIsHovered] = React.useState(false);
    const isCopied = copiedId === copyId;
    if (!text) {
      return null;
    }
    const codeClassName = `connector-page-code${isCopied ? ' connector-page-code--copied' : ''}`;
    return <div style={styles.codeWrapper} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} onClick={() => copyToClipboard(text, copyId)} title="">
        {(isHovered || isCopied) && <div style={styles.tooltip} className="connector-page-tooltip">
            {isCopied ? '✓ Copied!' : 'Click to copy'}
            <div style={styles.tooltipArrow} className="connector-page-tooltip-arrow" />
          </div>}
        <code style={styles.code} className={codeClassName}>
          {text}
        </code>
      </div>;
  };
  const KeyCell = ({id}) => <CopyChip text={id} copyId={id} />;
  const ScopesCell = ({scopes, actionId}) => {
    const scopeList = Array.isArray(scopes) ? scopes.filter(Boolean) : [];
    if (scopeList.length === 0) return null;
    return <div style={{
      display: 'flex',
      flexWrap: 'wrap',
      gap: '6px'
    }}>
        {scopeList.map(scope => <CopyChip key={scope} text={scope} copyId={`scopes:${actionId}:${scope}`} />)}
      </div>;
  };
  return <div>
      {}
      <div style={styles.header}>
        <img src={connector.icon} alt={connector.name} style={styles.icon} className="connector-page-icon" onError={handleImageError} />
        <div>
          <div style={styles.title}>{connector.name}</div>
          <div style={styles.subtitle} className="connector-page-subtitle">
            {connector.actions.length} actions · {connector.authentication.length} auth method{connector.authentication.length !== 1 ? 's' : ''}
          </div>
          {connector.releaseStage && connector.releaseStage !== 'ga' || connector.categories && connector.categories.length > 0 ? <div style={styles.tagsRow}>
              <ReleaseTag />
              <CategoryTags />
            </div> : null}
        </div>
      </div>

      {}
      <div style={styles.sectionTitle}>Authentication</div>
      <Columns cols={2}>        
        {connector.authentication.length > 0 ? connector.authentication.map(auth => {
    const authLabel = auth?.label || '';
    const authDescription = auth?.description;
    const configGuide = auth?.configGuide;
    const setupGuide = auth?.setupGuide;
    const hasConfigGuide = !!configGuide;
    const hasSetupGuide = !!setupGuide;
    const hasAnyGuide = hasConfigGuide || hasSetupGuide;
    return <Card key={authLabel} title={authLabel}>
                {authDescription && <p style={{
      ...styles.authDescription,
      marginBottom: hasAnyGuide ? '8px' : 0
    }} className="connector-page-auth-description">
                    {authDescription}
                  </p>}
                {hasAnyGuide && <span style={{
      fontSize: '14px'
    }}>
                    Guides: {hasSetupGuide && <a href={`/${setupGuide}`} style={{
      textDecoration: 'none'
    }}>Auth Config</a>}
                    {hasConfigGuide && hasSetupGuide && ', '}
                    {hasConfigGuide && <a href={`/${configGuide}`} style={{
      textDecoration: 'none'
    }}>Link Account</a>}
                  </span>}
              </Card>;
  }) : <>
            Contact StackOne for authentication details.
          </>}
      </Columns>

      <ActionsLibrary search={search} setSearch={setSearch} filtered={filtered} sharedStyles={{
    sectionTitle: styles.sectionTitle
  }} KeyCell={KeyCell} ScopesCell={ScopesCell} availableScopes={availableScopes} selectedScopes={selectedScopes} setSelectedScopes={setSelectedScopes} />

      <GettingStarted connector={connector} />

      {connector.documentation?.references?.length > 0 && <>
          <div style={styles.sectionTitle}>References</div>
          <Columns cols={2}>
            {connector.documentation.references.map(ref => {
    let safeHref;
    try {
      const parsed = new URL(ref.url);
      safeHref = parsed.protocol === 'http:' || parsed.protocol === 'https:' ? ref.url : undefined;
    } catch {
      safeHref = undefined;
    }
    return <Card key={`${ref.title}-${ref.url}`} title={ref.title} href={safeHref}>
                  {ref.description}
                </Card>;
  })}
          </Columns>
        </>}

    </div>;
};

export const connector = {
  "key": "mailgun",
  "name": "Mailgun",
  "icon": "https://stackone-logos.com/api/mailgun/filled/png",
  "authentication": [{
    "label": "API Key",
    "description": "Use your Mailgun private API key for authentication. Access API Security from your account dropdown menu in the top-righ...",
    "configGuide": "connectors/mailgun/guides/link-account/api-key",
    "setupGuide": "connectors/mailgun/guides/auth-config/api-key"
  }],
  "actions": [{
    "id": "mailgun_list_sending_metrics",
    "label": "List Sending Metrics",
    "description": "Query detailed email sending and engagement analytics metrics."
  }, {
    "id": "mailgun_list_usage_metrics",
    "label": "List Usage Metrics",
    "description": "Query usage metrics for Mailgun services such as email validation and previews."
  }, {
    "id": "mailgun_list_logs",
    "label": "List Email Logs",
    "description": "Query detailed email event logs for a time range with filtering support."
  }, {
    "id": "mailgun_get_tag",
    "label": "Get Tag",
    "description": "Retrieve an analytics tag by name and optionally update its description."
  }, {
    "id": "mailgun_update_tag",
    "label": "Update Tag",
    "description": "Update the description of an existing analytics tag."
  }, {
    "id": "mailgun_delete_tag",
    "label": "Delete Tag",
    "description": "Delete an analytics tag from the account."
  }, {
    "id": "mailgun_list_events",
    "label": "List Email Events",
    "description": "Retrieve a log of email events for a domain within a time period."
  }, {
    "id": "mailgun_list_smtp_credentials",
    "label": "List SMTP Credentials",
    "description": "List all SMTP credentials configured for a domain."
  }, {
    "id": "mailgun_create_smtp_credential",
    "label": "Create SMTP Credential",
    "description": "Create a new SMTP login credential for a domain."
  }, {
    "id": "mailgun_update_smtp_credential",
    "label": "Update SMTP Credential",
    "description": "Update the password for an existing SMTP credential."
  }, {
    "id": "mailgun_delete_smtp_credential",
    "label": "Delete SMTP Credential",
    "description": "Permanently delete an SMTP credential from a domain."
  }, {
    "id": "mailgun_list_domains",
    "label": "List Domains",
    "description": "List all domains associated with the Mailgun account."
  }, {
    "id": "mailgun_create_domain",
    "label": "Create Domain",
    "description": "Add a new sending domain to the Mailgun account."
  }, {
    "id": "mailgun_get_domain",
    "label": "Get Domain",
    "description": "Retrieve details and DNS verification status for a specific domain."
  }, {
    "id": "mailgun_update_domain",
    "label": "Update Domain",
    "description": "Update configuration settings for an existing domain."
  }, {
    "id": "mailgun_verify_domain",
    "label": "Verify Domain",
    "description": "Trigger DNS verification for a domain to confirm DNS records are correctly configured."
  }, {
    "id": "mailgun_delete_domain",
    "label": "Delete Domain",
    "description": "Permanently delete a domain from the Mailgun account."
  }, {
    "id": "mailgun_get_domain_tracking",
    "label": "Get Domain Tracking Settings",
    "description": "Retrieve the click, open, and unsubscribe tracking settings for a domain."
  }, {
    "id": "mailgun_update_click_tracking",
    "label": "Update Click Tracking",
    "description": "Enable or disable click tracking for links in emails sent from a domain."
  }, {
    "id": "mailgun_update_open_tracking",
    "label": "Update Open Tracking",
    "description": "Enable or disable open tracking for emails sent from a domain."
  }, {
    "id": "mailgun_update_unsubscribe_tracking",
    "label": "Update Unsubscribe Tracking",
    "description": "Enable or disable unsubscribe tracking and footer injection for a domain."
  }, {
    "id": "mailgun_list_ips",
    "label": "List IPs",
    "description": "List all IP addresses allocated to the Mailgun account."
  }, {
    "id": "mailgun_get_ip",
    "label": "Get IP",
    "description": "Retrieve details for a specific IP address allocated to the account."
  }, {
    "id": "mailgun_list_ip_pools",
    "label": "List IP Pools",
    "description": "List all IP pools configured on the Mailgun account."
  }, {
    "id": "mailgun_create_ip_pool",
    "label": "Create IP Pool",
    "description": "Create a new IP pool to group dedicated IPs for a sending stream."
  }, {
    "id": "mailgun_get_ip_pool",
    "label": "Get IP Pool",
    "description": "Retrieve details of a specific IP pool."
  }, {
    "id": "mailgun_list_mailing_lists",
    "label": "List Mailing Lists",
    "description": "List all mailing lists associated with the Mailgun account."
  }, {
    "id": "mailgun_create_mailing_list",
    "label": "Create Mailing List",
    "description": "Create a new mailing list for bulk email distribution."
  }, {
    "id": "mailgun_get_mailing_list",
    "label": "Get Mailing List",
    "description": "Retrieve details of a specific mailing list by its email address."
  }, {
    "id": "mailgun_update_mailing_list",
    "label": "Update Mailing List",
    "description": "Update the settings of an existing mailing list."
  }, {
    "id": "mailgun_delete_mailing_list",
    "label": "Delete Mailing List",
    "description": "Permanently delete a mailing list and all its members."
  }, {
    "id": "mailgun_list_mailing_list_members",
    "label": "List Mailing List Members",
    "description": "List all members of a specific mailing list."
  }, {
    "id": "mailgun_create_mailing_list_member",
    "label": "Create Mailing List Member",
    "description": "Add a new member to a mailing list."
  }, {
    "id": "mailgun_get_mailing_list_member",
    "label": "Get Mailing List Member",
    "description": "Retrieve the details of a specific mailing list member."
  }, {
    "id": "mailgun_update_mailing_list_member",
    "label": "Update Mailing List Member",
    "description": "Update the details or subscription status of an existing mailing list member."
  }, {
    "id": "mailgun_delete_mailing_list_member",
    "label": "Delete Mailing List Member",
    "description": "Remove a member from a mailing list."
  }, {
    "id": "mailgun_send_email",
    "label": "Send Email",
    "description": "Send an email message via Mailgun for the specified domain."
  }, {
    "id": "mailgun_send_email_mime",
    "label": "Send Email (MIME)",
    "description": "Send an email in raw MIME format via Mailgun for the specified domain."
  }, {
    "id": "mailgun_list_sending_queues",
    "label": "List Sending Queues",
    "description": "Retrieve the current state of the sending queues for a domain."
  }, {
    "id": "mailgun_list_routes",
    "label": "List Routes",
    "description": "List all inbound email routing rules configured on the account."
  }, {
    "id": "mailgun_create_route",
    "label": "Create Route",
    "description": "Create a new inbound email routing rule."
  }, {
    "id": "mailgun_get_route",
    "label": "Get Route",
    "description": "Retrieve the details of a specific inbound routing rule."
  }, {
    "id": "mailgun_update_route",
    "label": "Update Route",
    "description": "Update an existing inbound email routing rule."
  }, {
    "id": "mailgun_delete_route",
    "label": "Delete Route",
    "description": "Permanently delete an inbound email routing rule."
  }, {
    "id": "mailgun_match_route",
    "label": "Match Route",
    "description": "Test which routes match a given recipient email address without sending an email."
  }, {
    "id": "mailgun_list_subaccounts",
    "label": "List Subaccounts",
    "description": "List all subaccounts under the parent Mailgun account."
  }, {
    "id": "mailgun_create_subaccount",
    "label": "Create Subaccount",
    "description": "Create a new subaccount under the parent Mailgun account."
  }, {
    "id": "mailgun_get_subaccount",
    "label": "Get Subaccount",
    "description": "Retrieve details of a specific subaccount."
  }, {
    "id": "mailgun_enable_subaccount",
    "label": "Enable Subaccount",
    "description": "Re-enable a previously disabled subaccount."
  }, {
    "id": "mailgun_delete_subaccount",
    "label": "Delete Subaccount",
    "description": "Permanently delete a subaccount from the parent Mailgun account."
  }, {
    "id": "mailgun_disable_subaccount",
    "label": "Disable Subaccount",
    "description": "Disable a subaccount to suspend its ability to send email."
  }, {
    "id": "mailgun_list_bounces",
    "label": "List Bounces",
    "description": "List all bounce records for a domain's suppression list."
  }, {
    "id": "mailgun_create_bounce",
    "label": "Create Bounce",
    "description": "Manually add an email address to the bounce suppression list for a domain."
  }, {
    "id": "mailgun_get_bounce",
    "label": "Get Bounce",
    "description": "Retrieve the bounce record for a specific email address."
  }, {
    "id": "mailgun_delete_bounce",
    "label": "Delete Bounce",
    "description": "Remove a specific email address from the bounce suppression list."
  }, {
    "id": "mailgun_delete_bounces",
    "label": "Delete Bounces",
    "description": "Clear all bounce records from a domain's suppression list."
  }, {
    "id": "mailgun_list_complaints",
    "label": "List Complaints",
    "description": "List all spam complaint records for a domain's suppression list."
  }, {
    "id": "mailgun_create_complaint",
    "label": "Create Complaint",
    "description": "Manually add an email address to the spam complaint suppression list."
  }, {
    "id": "mailgun_get_complaint",
    "label": "Get Complaint",
    "description": "Retrieve the spam complaint record for a specific email address."
  }, {
    "id": "mailgun_delete_complaint",
    "label": "Delete Complaint",
    "description": "Remove a specific email address from the spam complaint suppression list."
  }, {
    "id": "mailgun_delete_complaints",
    "label": "Delete Complaints",
    "description": "Clear all spam complaint records from a domain's suppression list."
  }, {
    "id": "mailgun_list_unsubscribes",
    "label": "List Unsubscribes",
    "description": "List all unsubscribe records for a domain's suppression list."
  }, {
    "id": "mailgun_create_unsubscribe",
    "label": "Create Unsubscribe",
    "description": "Manually add an email address to the unsubscribe suppression list."
  }, {
    "id": "mailgun_get_unsubscribe",
    "label": "Get Unsubscribe",
    "description": "Retrieve the unsubscribe record for a specific email address."
  }, {
    "id": "mailgun_delete_unsubscribe",
    "label": "Delete Unsubscribe",
    "description": "Remove a specific email address from the unsubscribe suppression list."
  }, {
    "id": "mailgun_delete_unsubscribes",
    "label": "Delete Unsubscribes",
    "description": "Clear all unsubscribe records from a domain's suppression list."
  }, {
    "id": "mailgun_list_allowlist",
    "label": "List Allowlist",
    "description": "List all entries in the bounce allowlist for a domain."
  }, {
    "id": "mailgun_create_allowlist_entry",
    "label": "Create Allowlist Entry",
    "description": "Add an email address or domain to the bounce allowlist."
  }, {
    "id": "mailgun_get_allowlist_entry",
    "label": "Get Allowlist Entry",
    "description": "Retrieve a specific entry from the bounce allowlist."
  }, {
    "id": "mailgun_delete_allowlist_entry",
    "label": "Delete Allowlist Entry",
    "description": "Remove a specific entry from the bounce allowlist."
  }, {
    "id": "mailgun_list_account_templates",
    "label": "List Account Templates",
    "description": "List all email templates stored at the account level."
  }, {
    "id": "mailgun_create_account_template",
    "label": "Create Account Template",
    "description": "Create a new email template at the account level."
  }, {
    "id": "mailgun_get_account_template",
    "label": "Get Account Template",
    "description": "Retrieve details of a specific account-level template."
  }, {
    "id": "mailgun_update_account_template",
    "label": "Update Account Template",
    "description": "Update the metadata of an existing account-level template."
  }, {
    "id": "mailgun_delete_account_template",
    "label": "Delete Account Template",
    "description": "Permanently delete an account-level template and all its versions."
  }, {
    "id": "mailgun_list_account_template_versions",
    "label": "List Account Template Versions",
    "description": "List all versions of a specific account-level template."
  }, {
    "id": "mailgun_create_account_template_version",
    "label": "Create Account Template Version",
    "description": "Add a new version to an existing account-level template."
  }, {
    "id": "mailgun_get_account_template_version",
    "label": "Get Account Template Version",
    "description": "Retrieve a specific version of an account-level template."
  }, {
    "id": "mailgun_update_account_template_version",
    "label": "Update Account Template Version",
    "description": "Update the content or status of a specific account template version."
  }, {
    "id": "mailgun_delete_account_template_version",
    "label": "Delete Account Template Version",
    "description": "Delete a specific version of an account-level template."
  }, {
    "id": "mailgun_copy_account_template",
    "label": "Copy Account Template",
    "description": "Copy one or more account-level templates to a destination domain."
  }, {
    "id": "mailgun_rename_account_template",
    "label": "Rename Account Template",
    "description": "Rename an existing account-level template."
  }, {
    "id": "mailgun_list_domain_templates",
    "label": "List Domain Templates",
    "description": "List all email templates stored at the domain level (v3 API)."
  }, {
    "id": "mailgun_list_users",
    "label": "List Users",
    "description": "List all users associated with the Mailgun account."
  }, {
    "id": "mailgun_get_current_user",
    "label": "Get Current User",
    "description": "Retrieve the profile of the currently authenticated user."
  }, {
    "id": "mailgun_get_user",
    "label": "Get User",
    "description": "Retrieve the profile of a specific user by their user ID."
  }, {
    "id": "mailgun_list_webhooks",
    "label": "List Webhooks",
    "description": "List all webhooks configured on the Mailgun account."
  }, {
    "id": "mailgun_create_webhook",
    "label": "Create Webhook",
    "description": "Register a new webhook endpoint to receive Mailgun event notifications."
  }, {
    "id": "mailgun_delete_webhook",
    "label": "Delete Webhook",
    "description": "Remove a webhook endpoint from the Mailgun account."
  }],
  "releaseStage": "preview",
  "categories": ["observability", "developer_tools", "marketing", "messaging", "iam"]
};

<ConnectorPage connector={connector} />
