Commit Graph

24 Commits

Author SHA1 Message Date
Adrià Casajús
faae37b6bc
Use partner emails when the user has used alias from a partner (#2136)
* Update base templates based on the parter user

* Update template

* Fix missing check

* Check if the user is set

* Hide flag usage
2024-06-28 13:34:16 +00:00
Adrià Casajús
73c0429cad
Fix: Set oneclick link for unsubscribe of the newsletter for tx emails (#1465)
* Feat: Add unsub oneclick to the base transactional email template

* Format

* Removed unused

* Format

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-12-13 16:59:14 +01:00
Son Nguyen Kim
3900742d1f
Add proton mention (#1306)
* do not add mime-version header if already present

* mention proton in footer

* update email template
2022-09-22 15:15:22 +02:00
Son Nguyen Kim
6322e03996
admin can manage newsletter and test sending it (#1177)
* admin can manage newsletter and test sending it

* add comments

* comment

* doc

* not userID not specified, send the newsletter to current user

* automatically match textarea height to content when editing newsletter

* increase text height and limit img size to 100% in email template

* admin can send newsletter to a specific address
2022-07-22 11:24:53 +02:00
Carlos Quintana
cb7868bdca
Add djlint (#1122)
* Add DJlint configuration

* Initial reformat for djlint

* Add template linting to CI

* Add explanation for HTML template checks in CONTRIBUTING.md
2022-06-29 11:28:26 +02:00
Adrià Casajús
fbb59a1531
Send welcome mail to proton created users (#1099)
* Send welcome mail to proton created users

* Skip import

* Use new logo

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-20 11:36:16 +02:00
Adrià Casajús
780f5b75aa
Fixed PR comments 2022-02-17 13:16:11 +01:00
Adrià Casajús
1b525a55a5
Add debug message 2022-02-16 18:39:18 +01:00
Son Nguyen Kim
383cd49f25 fix year copyright in email 2021-07-30 17:05:16 +02:00
Fabio Widmer
aa18b7ecd1
Add variables to Jinja 2020-08-18 08:47:41 +02:00
Fabio Widmer
9226492f83
More self hosting improvements 2020-08-14 16:23:29 +02:00
Son NK
2bc2643cc8 use logo in email base template 2020-05-11 23:23:19 +02:00
Son NK
6a19390e3f Create text() macro, no more variable concatenation as render_text()! 2020-04-08 23:07:38 +02:00
Son NK
f99f656872 increase max-width to 750px (old value 570px), reduce padding to 30px (old value: 45px) 2020-03-24 20:11:55 +01:00
Son NK
2bba342447 remove preheader 2020-02-22 20:57:28 +07:00
Son NK
1f41007f3d Add what-next to trial-end email 2020-02-12 18:11:37 +07:00
Son NK
7f909f5a96 Improve onboarding-1 email 2020-02-12 12:41:25 +07:00
Son NK
55e9344d75 Better welcome email 2020-02-12 12:18:57 +07:00
Son NK
0643eb163b Use postmark email templates 2020-02-12 12:11:17 +07:00
Son NK
462937975f remove email footer 2020-02-05 21:35:54 +07:00
Son NK
9383918e96 remove whitelist section from email template 2020-01-30 13:54:56 +07:00
Son NK
47ba107738 Improve email template
- remove the grey big border
- use horizontal logo
- add a shell snippet to view quickly email render
2020-01-28 11:58:05 +07:00
Son NK
360fc85db6 link whitelist SL in email template 2019-12-15 18:55:15 +02:00
Son NK
8176447d05 create email helpers macro and base template 2019-12-15 18:55:15 +02:00