* fix: use monotonic time for timing code
`time.time()` depends on system clock which can drift away and get corrected
over time. If you're unlucky it will get corrected in your timing code
and give absurd results.
* test: dont check for status
can refresh and give wrong output
[skip ci]
Fix conditions to bother only those who asked for the data:
- Clear permissions cache only for updated users' data
- Defer appropriate events until commit to avoid ghost events
- Remove event unused by desk (and other apps)
Fix issue when an email has multiple inline images with the same filename. Currently the cid_map is overwritten; instead, attach the files with different names. Emails where every inline image has the filename 'image.png', only one of the images ends up correctly linked.
* chore: remove status filter from get_queued_recipients (previously
get_success_recipients)
* chore: removed not used statuses from Email Queue Recipient
* chore: remove append_to field from email domain doctype
* minor: add incoming and outgoing server fields to list view
Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
* Update Append to doctype description
Hello,
To append email to a doctype to enable automatic creation, there are two required fields listed

However, there is a third one required which is lacking in the above description (as seen below), because the email settings of the document must be enabled.

I propose to simply modify the sentence to the following :
Append as communication against this DocType (must have fields ("Status", "Subject") and "Sender" defined in the related doctype Email Settings).
To avoid any problem, in the code, it becomes the following :
Append as communication against this DocType (must have fields (\"Status\", \"Subject\") and \"Sender\" defined in the related doctype Email Settings).
The same must be applied in email_domain.json and in lots of csv in translations of course.
Pierre
* Update email_domain.json
* Updated sentence email account
* Updated sentence of email domain
* More brackets
* More brackets
* Typo
* Update email_account.json
* No dot
the common google callback can be used to trigger any method in the whole codebase
restrict it by only allowing domain specific callback method and raise
an error if the domain is not found