Automatic expense tracking through email monitoring, add a filter for your bank's email notifications
omarchehab98 opened this issue · 0 comments
omarchehab98 commented
Does your bank send email notifications of transactions? I bank with Royal Bank of Canada (RBC), I enabled email notifications for every transaction.
I wrote four filters (src/server/mail/filters/rbc.js) that parse the different emails that RBC can send.
Classification of emails is achieved through a functional filtering API (docs/filter.md), using the field set filter (docs/filters/fieldset.md).
An example of the filter that detects RBC's emails is documented in (docs/filters/rbc.md).
Write a filter that classifies your bank's email notifications.
- Write unit tests similar to (test/mail/unit/filter-rbc.js) to ensure your code works as expected.