by Hub Space
Version 2 (February 27, 2023)
Download (44 downloads)
This example is for users of the FairEmail app on how to receive incoming mail events from its automation rule.
In order to use this feature you need to setup a rule in the app with the automation action. Using rules requires the paid pro version of FairEmail.
Fairmail rules will be applied to new messages received in a folder.
The automation action will broadcast the intent eu.faircode .email.AUTOMATION with the following string extras:
name
sender
subject
received (ISO 8601 date/time)
!The message content is not being broadcasted
More on how to use filter rules:
https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq71