meirim-org / meirim

Meirim is an open-source smart city application that facilitates transparency in urban planning.
MIT License
56 stars 24 forks source link

On new tree objection, send email to all subscribers #736

Open GalGend opened 1 year ago

GalGend commented 1 year ago

We want to notify all tree subscribers of the same city about it.

@drorgivton / @gruppin can you please add the content/ text of the mail?

yaelal commented 1 year ago

1) add new objection table (id, tree_permit_id, content, url, email_sent, last_objection_date) + access 2) new cron all email_sent=0 send to users alert.type=tree+place and tree_permit.place

yaelal commented 1 year ago

@GalGend i dont have an email template, what should it look like?