Skip to content

website/docs: add expression policy example for welcome emails on user creation - #23486

Merged
dominic-r merged 12 commits into
mainfrom
docs/send_email_users
Jul 1, 2026
Merged

dominic-r merged 12 commits into
mainfrom
docs/send_email_users

Conversation

@melizeche

Copy link
Copy Markdown
Member

Adds a notification rule expression policy example that sends a welcome email to newly created users via ak_send_email, covering users created through enrollment, the Admin interface, the API, or source sync.

Probably closes #2758 unless we want to implement a specific UI to do this


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@melizeche
melizeche requested a review from a team as a code owner June 26, 2026 19:43
@netlify

netlify Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit aee0650
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a455ff0763bf700088fe160
😎 Deploy Preview https://deploy-preview-23486--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit aee0650
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a455ff0580222000835b5f7
😎 Deploy Preview https://deploy-preview-23486--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.20%. Comparing base (28841fc) to head (aee0650).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #23486   +/-   ##
=======================================
  Coverage   93.20%   93.20%           
=======================================
  Files        1039     1039           
  Lines       60801    60801           
  Branches      424      424           
=======================================
+ Hits        56670    56672    +2     
+ Misses       4131     4129    -2     
Flag Coverage Δ
conformance 36.31% <ø> (+<0.01%) ⬆️
e2e 41.50% <ø> (+<0.01%) ⬆️
integration 32.75% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.29% <ø> (+<0.01%) ⬆️
unit-migrate 92.31% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-aee0650f2271b2e7e34a8f3b3c86cfa5e9e0c5cb
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-aee0650f2271b2e7e34a8f3b3c86cfa5e9e0c5cb

Afterwards, run the upgrade commands from the latest release notes.

@netlify

netlify Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 2978a75
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a4553ec763bf700088d3936
😎 Deploy Preview https://deploy-preview-23486--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@melizeche melizeche self-assigned this Jun 29, 2026
@melizeche melizeche added area:docs Features or issues related to Docusaurus backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 labels Jun 29, 2026
@melizeche
melizeche enabled auto-merge (squash) June 29, 2026 17:17
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jun 30, 2026
@dominic-r
dominic-r disabled auto-merge July 1, 2026 18:33
@dominic-r
dominic-r enabled auto-merge (squash) July 1, 2026 18:44
@dominic-r
dominic-r merged commit dedf977 into main Jul 1, 2026
109 checks passed
@authentik-automation

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.5 created: #23579

dominic-r added a commit that referenced this pull request Jul 1, 2026
…r creation (cherry-pick #23486 to version-2026.5) (#23579)

website/docs: add expression policy example for welcome emails on user creation (#23486)

* Add 'Send a welcome email to newly created users' to Notification Rule Expression Policies docs

* add tip for user setting their password

* format changes



* fix linting

* Update notification_rule_expression_policies.mdx



* fix link

* cleanup

---------

Signed-off-by: Dewi Roberts <[email protected]>
Co-authored-by: Marcelo Elizeche Landó <[email protected]>
Co-authored-by: Dewi Roberts <[email protected]>
Co-authored-by: Dominic R <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Send welcome mail to newly created users

3 participants