Skip to content

Add optional Mailozaurr email transport - #528

Merged
PrzemyslawKlys merged 9 commits into
masterfrom
codex/email-workflow-capabilities
Aug 9, 2026
Merged

Add optional Mailozaurr email transport#528
PrzemyslawKlys merged 9 commits into
masterfrom
codex/email-workflow-capabilities

Conversation

@PrzemyslawKlys

@PrzemyslawKlys PrzemyslawKlys commented Aug 8, 2026

Copy link
Copy Markdown
Member

Summary

Lets the existing Email DSL send through Mailozaurr without adding a required module dependency.

  • adds Email -UseMailozaurr
  • adds -MailozaurrParameters for provider authentication, retry, and transport options
  • resolves only Mailozaurr's Send-EmailMessage command when requested
  • maps the legacy SMTP envelope while preserving Graph, MgGraphRequest, SendGrid, and EmailProvider parameter sets
  • keeps the complete SMTP-only transport, authentication, certificate, delivery, timeout, and OAuth alias surface out of non-SMTP provider splats
  • treats null and disabled authentication switches as inactive while preserving explicit false overrides
  • lets explicit SMTP authentication replace unsupported legacy password-file behavior
  • preserves legacy default-credential and secure-password behavior when no replacement is supplied
  • preserves the historical -OutputHTML contract: output the rendered HTML and continue sending

Example

Email -UseMailozaurr `
    -From reports@example.com `
    -To operations@example.com `
    -MailozaurrParameters @{
        Graph      = $true
        Credential = $credential
    } {
        New-HTMLText -Text 'Daily report'
    }

Mailozaurr remains optional and is discovered at runtime. EvotecIT/Mailozaurr#648 adds the complementary transport-neutral rendered-content contract but is not a dependency of this PR.

Validation

  • focused email transport contract: 24 passed in PowerShell 7
  • focused email transport contract: 24 passed in Windows PowerShell 5.1
  • coverage includes provider selection, complete SMTP transport filtering, OAuth aliases, case-sensitive dictionaries, inactive values, legacy override behavior, command provenance, and -OutputHTML compatibility

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 20e816cb1b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1
Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated
Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eb74ffbf3c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5adfa629d1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d5b836ed65

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Public/Email.ps1 Outdated
Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 66b04b6bdb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a960da76cc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dfe6f899d7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated
Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 570372e495

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Private/Invoke-PSWriteHTMLMailozaurr.ps1
Comment thread Build/Build-Module.ps1
@PrzemyslawKlys
PrzemyslawKlys merged commit d0c04e9 into master Aug 9, 2026
5 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the codex/email-workflow-capabilities branch August 9, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant