imap-injection plugin

imap-injection-plugin

display_name

STRING - String to generate TO-Header in emails (optional but has to default to “” / empty string).

email

STRING - the hashed version of the users email (mandatory).

promo_fs

Storage location for promotional mail templates (required, an fs-api string).

imap_injection_delay_new_mails

How long to delay between new promo mail injections (required, a time format).

The minimum interval is 1 minute.

imap_injection_max_visible_mails

Maximum number of unseen injected mails to show at a time (required, an integer).

Note

Setting this to 0 will remove all injected promotions and stop querying the API endpoint.