Skip to content

Power automate desktop flow to scrap email and send articles to remarkable tablet through remarkable cloud services

License

Notifications You must be signed in to change notification settings

ronan-deshays/newsletter2reMarkable

Repository files navigation

newsletter2reMarkable

Power automate desktop flow to scrap email, and then to send articles found to reMarkable tablet using read on remarkable service.

📬 ➡️ 📰 ➡️ 📖

Watch the tool in action on this Youtube video 🎬

Requirements

💡 Legend

  • Mandatory
  • Optionnal

Hardware

Account

  • reMarkable account with connect plan (or any equivalent plan which includes read on remarkable service)
  • Microsoft account (personnal, school or entreprise)
  • Office 365 Subscription, see alternatives
  • LeMonde Abonnés (paid subscription)

Desktop app

  • Microsoft Power Automate Desktop (free / basic version, noted PAD in this doc) : Microsoft Store Standalone installer
  • Web browser compatible with all addons below. ⚠️ UWP Mozilla Firefox not working
  • Outlook 2019 (or 365 or higher) Desktop app, see alternatives

Web browser addon

  1. ⚠️ Unofficial version, source code available on GitHub
  2. ⚠️ Firefox from Microsoft Store is not detected by PAD, including when addon is installed. Use instead legacy Firefox installer
  3. 💡 This Chrome plugin is compatible with the chromium version of Edge

How it works

Please note that PAD programmation is self explanatory. The main process is here quickly described, but you can import code in PAD for further informations.

  1. Instantiate Edge and Outlook in Main flow
  2. Launch every subflow (one for each type of newsletter, see Supported newsletter types section) one after another, currently only LeMonde subflow is provided.

For each newsletter subflow

  1. Get emails based on criteria to customize depending on the needs of the end user and structure of newsletter. E.g. for LeMonde :
    • get a link which enables to view newsletter in browser, in subflow LeMonde
    • iteratively collect every link which refers to an article, in subflow html_url2articles_url
  2. Send every article collected to remarkable by opening the article's link and clicking the read on remarkable extension button article_url2reMarkable

Supported newsletter types

Newspapers

LeMonde

LeMonde is a french newspaper. A paid subscription to this newspaper gives access to premium articles and weekly and daily newsletter, which contains a few links to articles sorted by themes.

How to use

  1. Create a new PAD project
  2. A Main (empty) flow is automatically created, create following subflows (one subflow for each .txt file in flow_and_subflow folder, except Main.txt) :
    • article_url2reMarkable
    • html_url2articles_url
    • LeMonde
  3. Copy-paste text contained in each .txt file, in flow or subflow which has the same name
  4. replace "*_here" parameter's values with the ones suitable with your credentials for the differents account mentionned upper.

You should obtain something similar to the screenshot below, except that PAD is in French in the screenshot.

PAD after copy-pasting code

How to adapt to another newsletter

In your PAD project (follow How to use section steps first) :

  1. Create a new subflow with a name of your choice
  2. Call this subflow in the Main flow
  3. Adapt the regexp_article_url variable to your needs
  4. Adapt the "View it in a web browser" parameter (e.g., for LeMonde, it is "Voir dans un navigateur"...) to your needs. It tells to PAD how to recognize the url which will be used to collect every article links.

Alternatives

Without Outlook and Office 365

PAD contains IMAP blocs, replace Outlook blocs with IMAP blocs and connect them to your mail service.

Disclaimer

This project is not affiliated with any of the companies mentionned on this repository.

About

Power automate desktop flow to scrap email and send articles to remarkable tablet through remarkable cloud services

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published