Skip to contentSkip to conversation

KernelCI API: Email Templates for User Management

DISCUSSION Jeny Sheth 2 participants 2 messages Dec 9, 2023 – Dec 11, 2023

lore
Share & tools
lore

Jeny Sheth

author
#0 lore raw

Hello,

We have recently integrated 'fastapi-users'[1]package for user management functionalities in the new API.
With the integration, we have enabled support for email verification and password reset via email for user accounts.

The API uses 'jinja2' templates for sending emails to the user for the above-mentioned requests i.e. email verification and password reset. The initial email templates have been added here[2]. These templates arebasic and contain only the required information for the user.

We would love to hear from the community about how we can make these emails better and how they should look from the user's pov.
I have initiated a Github discussion[3] to take this further. Please feel free to drop any comments/suggestions you may have.

Thank you,
Jeny

[1] https://pypi.org/project/fastapi-users/
[2] https://github.com/kernelci/kernelci-api/tree/main/templates
[3] https://github.com/kernelci/kernelci-project/discussions/275

#1 lore raw

+kernelci-webdashboard

Quoted 12 lines · Jeny Sheth

Hello,

We have recently integrated 'fastapi-users'[1]package for user management functionalities in the new API.
With the integration, we have enabled support for email verification and password reset via email for user accounts.

The API uses 'jinja2' templates for sending emails to the user for the above-mentioned requests i.e. email verification and password reset. The initial email templates have been added here[2]. These templates arebasic and contain only the required information for the user.

Quoted 4 lines

We would love to hear from the community about how we can make these emails better and how they should look from the user's pov.
I have initiated a Github discussion[3] to take this further. Please feel free to drop any comments/suggestions you may have.

Thanks for this. I believe it's especially something for our newly appointed UX experts to provide some feedback on with best practices etc. as I would expect regular users to want this to "just work". I guess one particular requirement might be that the emails are plain-text only and usable in a terminal client such as mutt.

Cheers,
Guillaume

Quoted 3 lines

[1] https://pypi.org/project/fastapi-users/
[2] https://github.com/kernelci/kernelci-api/tree/main/templates
[3] https://github.com/kernelci/kernelci-project/discussions/275