Gmail2Telegram

On May 8th, 2021 in Tech

My Gmail account is my main email. I get dozen (if not hundreds) of e-mails everyday. Most of them are already filtered with dozen of rules that I’ve been creating since 2006. But there are a functionality that was missing: alert me whenever an important e-mail arrives.

I tried using filters combined with notifications alerts on Android or IOS, but after struggling for sometime, I gave up.

Years later, on my “automation my life” mission, I decided to search for some Google Scripts that could ease my life. That’s when I found Andreas Hochsteger’s Gmail2GDrive. I gave a try and it worked flawless, nowadays many of my bills are saved automatically on my Google Drive making my life much easier.

Then yesterday I remembered of my long lasting issue of not being able to be notified of my important e-mails. As my studies on Python have increased, also my knowledge and use of Telegram API. So I thought that maybe I could join Gmail2GDrive and Telegram API and personalize a solution, that’s when I adapted Gmail2Gdrive.

I got the project and made it much simpler (not better, simpler in functionalities) and adapted it to work with Telegram. I set the script to run every 5 minutes and voilĂ , now I have my notification system working.

If you want to check it, go to Gmail2Telegram on Github.

Tags: automations e-mail Google Script javascript

2021 goals: April progress

On May 1st, 2021 in Myself

At the end of January I set my goals for 2021 looking for a more productive year. This is my March progress report.

You can check those progress reports:

  1. 2021 goals: January progress
  2. 2021 goals: February progress
  3. 2021 goals: March progress

2021 goals

  1. Write down my projects and researches in this blog;
  2. Be able to have a daily conversation in Japanese;
  3. Have all my photos edited. Have some of them at Shutterstock;
  4. Have Home Assistant fully functional at home with some automations concluded;
  5. Have a NAS server running with all our data organized;
  6. Learn to write in Arduino and make some DIY projects;
  7. Do periodical physical exercises;
  8. Meditate;
  9. Read more books.

Overall Review

Things keep the same of last month. I didn’t study Japanese at all, my Yoga activities are on hold and, I didn’t begin to edit my photos and my reading slowed down.

I’m still working and learning a LOT of Python and Data.

I was planning that this pause would last 1 or 2 months. I’m rethinking about it and now I think that my studies on Python will go through 2021. So I’ll try to reintroduce some of my activities back to my life, starting with yoga and meditation, because being sit down everyday is making my head hurt again.

What I could do better in April?

I avoided Yoga again, but now I can’t anymore. Migraines are become frequently again.

Write down my projects and researches in this blog

Goal for this month: 4 posts
Achieved this month: 4/4 (100%)
Total achieved: 14/48 (29.16%)

Be able to have a daily conversation in Japanese

As I said on my overall review, it’s on halt.

Goal for this month: 6 hours
Achieved this month: 0/24 (0%)
Total achieved: 0/288 (0%)

Have all my photos edited. Have some of them at Shutterstock

This activity is also on halt.

Goal for this month: 0 hours
Achieved this month: 0/0 (%)
Total achieved: 0/344 (0%)

Have Home Assistant fully functional at home with some automations concluded

New devices shall be implemented in the forthcoming months and further modifications will be done. I just don’t tick it as complete because there’s always something else to implement or edit.

Total achieved: 90%

Have a NAS server running with all our data organized

My setup is done and nowadays I have a LOT of cronjobs running every day/hour. I’ll talk about them in other posts.

Total achieved: 100%

Learn to write in Arduino and make some DIY projects

This activity is also on halt, despite my readings of DIY projects sometime.

Goal for this year: 6 project
Total achieved: 0/6 (0%)

Do periodical physical exercises

Goal for this month: 12 days
Achieved this month: 0/12 (0.0%)
Total achieved: 17/120 (14.16%)

Meditate

Goal for this month: 12 days
Achieved this month: 0/12 (0%)
Total achieved: 21/120 (17.5%)

Read more books

Goal for this month: 2 books
Achieved this month: 0/2 (0%)
Total achieved: 7/24 (29.16%)

Bonus activities

  1. I gather many scripts that I made for work and created “one big script to rule them all”, every time that I rewrite it, I make it more organized and more efficient.
  2. I’ve created a script that gather those work data and create a Microsoft Word document.
  3. I’ve been working with Plot.ly Express with success. My biggest difficulty working with data is to work with the data. To clean and fix it and to learn the best way or working with it to make it more useful.
Tags: 2021 goals