adds email model, adds outlook as data source#401
adds email model, adds outlook as data source#401corradio merged 20 commits intoelectricitymaps:masterfrom baywet:feature/outlook
Conversation
|
To create the app registration:
When testing with the playground:
|
|
This is very impressive - @corradio I envision potential privacy issue, can you advise? |
I've looked briefly at the code and I don't see any privacy issues introduced. |
|
so you would create one purchase a day/week with one item and the quantity being the number of emails basically? Is it possible to purchase something at zero dollars today in the UI/model? The reason why I started a digital category is because I also wanted to add online storage (onedrive, box etc...) and online video watching (youtube...) as sub-items of those categories. |
The footprint would be so small (even for a week) that I would refrain against doing anything with the number of emails themselves (anything <1kg will clutter the UI up without contributing significantly). Finally, it makes totally sense to start working on email parsers that can extract activities from emails (such as purchases). That is something we can do with 0 changes to the UI. Does that make sense? |
|
It does, couple of questions: What about other digital activities such as watching online videos I wanted to add? |
|
I suggest commenting out / disabling the code that creates an activity per email (but keep the code that extracts purchase activities) |
corradio
left a comment
There was a problem hiding this comment.
I've gone through the code and added a few comments.
Thanks for pushing through here! It's quite exciting to see this come to life.
|
No worries, thanks for your help. Replied to some of your comments with questions. I'll make the changes once I have the answers to those. |
Co-authored-by: Olivier Corradi <1655848+corradio@users.noreply.github.com>
madsnedergaard
left a comment
There was a problem hiding this comment.
This looks great to me, awesome work! Leaving final review for @corradio :)
|
Thanks team! I can't wait to see people implementing more email providers! I'll try to get started on GMail soon. |
Ofcourse! I think GMail requires a paid access though.. |
|
@corradio juste checking in here. How close are we to see that in the app? The new design looks great by the way! |
Hey @baywet, we had to do some changes to make it work (#427) and some internal updates as well, but that has been done and it's now being QA tested internally - it will be included in next release within a few days, so I'll let you know when it's out :) |

Email contributes to carbon emissions, ideally people should only send and receive the emails they absolutely need and unsubscribe from what they don't need.
This pull request adds support for an email model and integrate with Outlook (Office 365 & consumer).
In addition, a lot of sites/apps do not provide APIs to integrate activities easily but send emails instead. Parsing those emails is a good way to extract additional activities automatically. This PR lays the infrastructure to do so (with an example with IKEA)