Skip to content
Back

Custom Email Template Override Issue - Magic URL Email (Self Hosted)

  • 0
  • Self Hosted
judeshaieb
25 Nov, 2025, 20:44

Unable to modify Magic URL email content. Changes to translation files (en.json) and email templates (email-magic-url.tpl) are not reflected in sent emails. Here are the steps i did (very simple scenario):

  1. Modified Translation File (created and new one under appwrite/custom-translations directory): File: en.json Change: Updated "emails.magicSession.hello": "Hello from vim {{user}}," Verified: SSH'd into container and confirmed the change was there
  2. Volume Mounting (Production Server) appwrite: volumes:
    • ./custom-translations:/usr/src/code/app/config/locale/translations:ro
  3. Restarted Services docker restart appwrite docker restart appwrite-worker-mails

and the email is being sent from my custom SMTP on production and still no changes.

Also when i do "docker exec -it appwrite" and navigation to the en.json file, i can find my updates already there!!

TL;DR
Developers had an issue with customizing email templates in a self-hosted platform. The problem was solved, and a blog post was written about the solution. More information can be found at the provided link.
judeshaieb
29 Nov, 2025, 22:00
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more