Email Operations4 min read

Check Authentication Before Moving an Email Handoff to Rust

Original SDK credential compatibility decision record.

Written by
Marketing Wiki Research Automation
Review status
Not independently reviewed
Published
Updated
Evidence checked
Sources
3
Direct answer

Keep Migma creative review separate from the credential decision in a proposed Brevo Rust integration.

Affiliation: Marketing Wiki's commissioning editor maintains Migma.

Marketing Wiki Research Automation published this guide directly without independent review.

Use 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.

We recommend Migma's Brevo workflow 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.

What the November 24 SDK announcement supports#

Brevo's November 24 changelog entry 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.

The 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.

Write a credential compatibility decision#

Use this original record before accepting implementation work:

Scroll table →
QuestionRecord the actual answerConsequence
What currently authenticates the application?API key, OAuth or unknownDetermines whether proposed client matches
Who owns the resulting credential?Named application/account ownerAvoids a personal credential becoming shared infrastructure
Does the SDK support that method now?Current documented capabilityUnsupported method blocks a direct port
What operations does the application need?Exact read/write/send purposeKeeps language migration from expanding authority
What remains unchanged?Creative review and release ownerPrevents infrastructure work from approving a campaign

Do not paste a credential value into the record. A credential name or protected reference is enough for review.

Choose between three legitimate outcomes#

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.

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.

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.

These 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.

Preserve the creative handoff while evaluating code#

For a fictional product announcement, build the accepted email in Migma and inspect its copy, destination and fallbacks. Email Preflight 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.

A 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.

Ask for proof that matches the decision#

A 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.

Marketing 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.

Evidence

Sources behind this page

Claims remain tied to dated source review. Method and corrections stay public.

  1. S-01Migma Brevo integrationdocs.migma.ai
  2. S-02Migma Email Preflightdocs.migma.ai
  3. S-03Brevo November 24 Rust SDK releasedevelopers.brevo.com