Title: [REQUEST] Mailgun integration: support EU region (api.eu.mailgun.net) · Issue #8420 · simstudioai/sim · GitHub
Open Graph Title: [REQUEST] Mailgun integration: support EU region (api.eu.mailgun.net) · Issue #8420 · simstudioai/sim
X Title: [REQUEST] Mailgun integration: support EU region (api.eu.mailgun.net) · Issue #8420 · simstudioai/sim
Description: Is your feature request related to a problem? Please describe. The Mailgun integration always calls the US API endpoint. Mailgun EU-region domains must use https://api.eu.mailgun.net, so with an EU domain and a correct API key and domain...
Open Graph Description: Is your feature request related to a problem? Please describe. The Mailgun integration always calls the US API endpoint. Mailgun EU-region domains must use https://api.eu.mailgun.net, so with an EU...
X Description: Is your feature request related to a problem? Please describe. The Mailgun integration always calls the US API endpoint. Mailgun EU-region domains must use https://api.eu.mailgun.net, so with an EU...
Opengraph URL: https://github.com/simstudioai/sim/issues/8420
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[REQUEST] Mailgun integration: support EU region (api.eu.mailgun.net)","articleBody":"**Is your feature request related to a problem? Please describe.**\n\nThe Mailgun integration always calls the US API endpoint. Mailgun EU-region domains must use `https://api.eu.mailgun.net`, so with an EU domain and a correct API key and domain, requests are rejected with `401 Unauthorized`. There is currently no way to select the region in the Mailgun block.\n\nCurrent behavior: all 8 Mailgun tools hardcode the US base URL, for example `apps/sim/tools/mailgun/send_message.ts`:\n\n```ts\nurl: (params) => `https://api.mailgun.net/v3/${params.domain}/messages`,\n```\n\nThe same hardcoded `https://api.mailgun.net/v3/...` prefix is used in `get_domain.ts`, `list_domains.ts`, `get_message.ts`, `list_messages.ts`, `create_mailing_list.ts`, `get_mailing_list.ts` and `add_list_member.ts`. Neither the block (`apps/sim/blocks/blocks/mailgun.ts`) nor the tool params (`apps/sim/tools/mailgun/types.ts`) has a region or base URL input. Checked on `main` and on the latest release `v0.9.5`.\n\n**Describe the solution you'd like**\n\nAdd an optional `region` input (US / EU) to the Mailgun block and to all Mailgun tools, or alternatively an optional `baseUrl` input. The default stays US, so existing workflows are unaffected. EU maps to `https://api.eu.mailgun.net`. The base URL could be resolved in one small shared helper that every tool's `request.url` uses.\n\n**Describe alternatives you've considered**\n\nWorkaround: use the API block with Basic auth (user `api`, password = the Mailgun API key) against `https://api.eu.mailgun.net/v3/\u003cdomain>/messages`. This works for sending but loses the dedicated Mailgun block, its operations and its field handling.\n\n**Additional context**\n\n- Mailgun API overview (regions and base URLs): https://documentation.mailgun.com/docs/mailgun/api-reference/api-overview\n- Environment: self-hosted (Docker via Coolify), Sim version `v0.9.5` (latest release at the time of writing, published 2026-09-29)\n","author":{"url":"https://github.com/renegeorgi","@type":"Person","name":"renegeorgi"},"datePublished":"2026-09-29T18:25:53Z","url":"https://github.com/simstudioai/sim/issues/8420"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:914f38bd-70a4-5435-ff14-173b8fba2de6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDE8:3ED756:3FDE59:5955C3:6AFB5978 |
| html-safe-nonce | d897836078227954cdedb2b7db66673525d448173e178e8704418af0bea92f6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREU4OjNFRDc1NjozRkRFNTk6NTk1NUMzOjZBRkI1OTc4IiwidmlzaXRvcl9pZCI6IjYwNTUwNTE4NTM1NDI2NzY4NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 499180768c58e62086238868517a6ada9c65cd784de433bd4d307109289eb593 |
| hovercard-subject-tag | issue:5635109357 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simstudioai/sim/8420/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41b6e851149dbe33a23e3af66196c909075f91b29628e031edb60e68c2e016ef/simstudioai/sim/issues/8420 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41b6e851149dbe33a23e3af66196c909075f91b29628e031edb60e68c2e016ef/simstudioai/sim/issues/8420 |
| og:image:alt | Is your feature request related to a problem? Please describe. The Mailgun integration always calls the US API endpoint. Mailgun EU-region domains must use https://api.eu.mailgun.net, so with an EU... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | renegeorgi |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width