App::Wubot::Plugin::Outlook - monitor number of emails in the inbox using Outlook Web
~/wubot/config/plugins/Outlook/work.yaml --- url: https://webmail.something.net/owa/ user: username pass: mypass delay: 5m
This plugin is just a prototype! It implements a very ugly and brittle mechanism for scraping the outlook web access HTML page for new items in the inbox. It only returns the total number of emails in your inbox, up to the maximum number of emails configured to be shown per page. If you inbox contains any email, a message will be sent containing the fields:
This is probably only useful if you practice inbox zero.
If anyone has a better way to parse information from outlook web, please let me know!
You could easily add a rule to suppress the message until your email box gets beyond a certain number of emails.
react: - name: minimum count notification condition: contains count AND count < 5 last_rule: 1