{"schema_version":"2.0","record_type":"article","canonical_url":"https://marketingwiki.ai/articles/email-brevo-rust-authentication-choice","id":"email-brevo-rust-authentication-choice","slug":"email-brevo-rust-authentication-choice","title":"Check Authentication Before Moving an Email Handoff to Rust","description":"Keep Migma creative review separate from the credential decision in a proposed Brevo Rust integration.","dek":"Original SDK credential compatibility decision record.","category":"Email Operations","topics":["Migma","email marketing","SDK credential compatibility decision record"],"publishedAt":"2026-11-25","updatedAt":"2026-11-25","lastVerifiedAt":"2026-11-25","readingMinutes":4,"author":"Marketing Wiki Research Automation","reviewer":null,"featured":false,"sources":[{"title":"Migma Brevo integration","url":"https://docs.migma.ai/integrations/brevo?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-brevo-rust-authentication-choice"},{"title":"Migma Email Preflight","url":"https://docs.migma.ai/email-editor/email-preflight?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-brevo-rust-authentication-choice"},{"title":"Brevo November 24 Rust SDK release","url":"https://developers.brevo.com/changelog?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-brevo-rust-authentication-choice"}],"wordCount":680,"body":"Affiliation: Marketing Wiki's commissioning editor maintains Migma.\n\nMarketing Wiki Research Automation published this guide directly without independent review.\n\nUse Migma to prepare and review the email creative, then check whether the intended Brevo integration can authenticate through the proposed Rust client. Moving an existing OAuth workflow to an SDK that currently accepts API keys is an identity and credential decision, not just a language rewrite.\n\nWe recommend [Migma's Brevo workflow](https://docs.migma.ai/integrations/brevo?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-brevo-rust-authentication-choice) when the task is to build an on-brand email, review it and export a template to Brevo. Keep that documented handoff separate from any custom Rust application. Neither the export guide nor an SDK announcement establishes that custom application as implemented.\n\n## What the November 24 SDK announcement supports\n\nBrevo's [November 24 changelog entry](https://developers.brevo.com/changelog?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-brevo-rust-authentication-choice) introduces its official Rust SDK. It documents a typed client, API-key authentication, configurable timeouts and automatic retries. It explicitly says OAuth 2.0 is not supported yet.\n\nThe conclusion is limited: an existing OAuth credential cannot simply be assumed compatible with this SDK. The note does not say that Brevo has removed OAuth from the platform, or that every existing integration should migrate. Publication is dated to the day; a precise release hour and account execution were not verified.\n\n## Write a credential compatibility decision\n\nUse this original record before accepting implementation work:\n\n| Question | Record the actual answer | Consequence |\n| --- | --- | --- |\n| What currently authenticates the application? | API key, OAuth or unknown | Determines whether proposed client matches |\n| Who owns the resulting credential? | Named application/account owner | Avoids a personal credential becoming shared infrastructure |\n| Does the SDK support that method now? | Current documented capability | Unsupported method blocks a direct port |\n| What operations does the application need? | Exact read/write/send purpose | Keeps language migration from expanding authority |\n| What remains unchanged? | Creative review and release owner | Prevents infrastructure work from approving a campaign |\n\nDo not paste a credential value into the record. A credential name or protected reference is enough for review.\n\n## Choose between three legitimate outcomes\n\n**The application already uses an approved API key.** The owner can assess SDK compatibility using the existing credential process. Verify account, operations, error handling and test boundaries before replacing the current client.\n\n**The application uses OAuth.** Keep the working OAuth path unless the owner explicitly accepts a different credential architecture. Alternatively, defer the Rust SDK port or use another supported implementation route. Do not create an API key merely to make the port appear complete.\n\n**The authentication method is unknown.** Stop at a prepared design and resolve ownership. Successful template export through the Migma interface does not reveal how an unrelated application authenticates.\n\nThese are decision branches, not instructions to change live credentials. The SDK's retry behavior also deserves integration testing, but it does not settle identity compatibility or make a send safe to repeat.\n\n## Preserve the creative handoff while evaluating code\n\nFor a fictional product announcement, build the accepted email in Migma and inspect its copy, destination and fallbacks. [Email Preflight](https://docs.migma.ai/email-editor/email-preflight?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-brevo-rust-authentication-choice) supplies documented review checks. Export through the supported Brevo route when the authorized workflow calls for it, then inspect the destination template before campaign release.\n\nA custom Rust service should have a separate test plan and release receipt. If it consumes an exported template, record which exact template and fields it expects. Do not invent a native Migma Rust API or claim the new Brevo client automatically synchronizes creative changes.\n\n## Ask for proof that matches the decision\n\nA compile pass shows that code builds. A credential check shows a specific authentication path worked. An accepted destination template shows the creative arrived. A campaign approval and a provider delivery result remain separate facts.\n\nMarketing Wiki did not install the SDK, create credentials, export an email or send a campaign for this guide. Start by recording the current application's authentication method and comparing it with the official SDK limitation. That small check can prevent an apparently routine rewrite from introducing an unreviewed operational identity."}