Emailing Module - Send email to chosen list
Enable users in a group to have a texte and define "targets"
- User can choose their officials
- User can personalize the texte
- Users can send email (2 choices -> our email or their email)
Todo
*V1 of the functionality : * Divided in 3 blocks
A. Proposed texte
- Field of action group B. Find your EO
- EO viewset with just the info needed (if reduce search time)
- Search field by Postal Code that displays matching EO
C. Send email
- Ability to load content from proposed text
- Ability customise the texte
- User copies and pastes the email of their OE
- 2 Ways to send - A/ Use my email --> Client local B/ Use our email --> warning possibly lower deliverability rates + will put them in CC
extra todo needed
- Make contact model
- Make user email model (hidden to all)
- Make B and C only visible when A is active à priori needs to be done is JS; testing in django renders answer only onload and doesn't update
bugs to solve
- Make sure backspaces are handled when get the content of proposed text
**Left to do **
- Create dedicated email
- Receiver on_contact email()
- Add "next" page when email sent with our email
- Pass content of email to local client () workaround implemented, recap here #389
- Mobile version
- Pass subject & content info in mailto:
to be solved