The Tallest Dwarf

RSSEmailTwitterGitHubDribbbleLinkedInFacebookInstagramYouTubePinterestReddit icon

Send and receive WhatsApp messages through email

Posted at — Jan 12, 2021 by Abishek Muthian

Send and Receive WhatsApp messages through email featured image

warning: Sending and receiving messages from WhatsApp through email would bypass the end-to-end encryption and may leak data to the email providers (Check update). If your reason for reading this is for better data security, then this is may not the right approach.

This approach can help those who are looking to isolate WhatsApp to reduce hardware finger-printing, asymmetric association, receive non-sensitive messages.

Requirements

  1. Android instance

    • Android x86 with ARM emulation on bare metal [Recommended] or VM.

    (or)

    • Physical android device.

    (or)

    • Android container e.g. Anbox [Not recommended, might work in future with support for notifications and background apps].
  2. Tasker android app.

  3. Auto Notification android app.

  4. MailTask android app.

  5. K-9 Mail.

Setup Mail

I set my mail account using IMAP & SMTP in K-9 Mail and in Mail Task.

Enable permissions for Tasker

Tasker requires permissions to read notifications, exception in doze mode and Write Secure Settings Permission. Tasker will inform as and when these permissions are needed when setting up the app.

Since I used blissOS, I set 'Write Secure Settings Permissions' through the console [Alt+F1].

Tasker profiles

I set up two tasker profiles for this automation, 'WhatsApp to Email' and 'Email to WhatsApp'. Tasker profiles for Send and Receive WhatsApp messages from email

WhatsApp to Email

Tasker profile receiving WhatsApp notification

  1. Select 'Notification' event.
  2. Select WhatsApp as Owner Application.

Selecting WhatsApp as owner application for notification in WhatsApp

  1. Select 'Send email' Action of Mail Task.

Select 'Send email' Action

  1. a. Configure 'Send email' task.

Configure 'Send email' task

  1. b. Configure MailTask.

Configure MailTask

Email to WhatsApp

Tasker profile receiving email notification

  1. Select 'Autonotification Intercept' event.

Select 'Autonotification Intercept' event

  1. a. Configure Autonotification by selecting K-9 Mail from apps.

Configure Autonotification by selecting K-9 Mail from apps

  1. Select 'Contact Via App' task.

Select 'Contact Via App' task

  1. a. Configure 'Contact Via App' task.

Configure 'Contact Via App' task

Demo

Gif demonstration of send and receiving WhatsApp messages through email. Demonstration of send and receiving whatsapp messages through email

If you'd like to see the demo on video and also listen to why I think app streaming could be thing; Check it out on YouTube.

That's all, if you have any queries hit me up on Twitter.

Update:

Encryption (update)

Using K-9 Mail's PGP encryption we can achive end-to-end encryption if both our email IDs used for whatsapp communication uses K-9 Mail configured with PGP.

Note: I'm not using this method in the above demonstration.

Update Log

March 2021: Added note on encryption.

Did I add value?

Out of respect for your attention and concern for your privacy I don't have advertisements or any tracking cookie.

Let's have an obligation free discussion on this content or other common interests over email while supporting The Tallest Dwarf to continue writing.

If you cannot make a monetary support, I understand; Please like and share this content in the platform of your choice to defeat their conformist algorithms.

Dan has bought a Coffee for The Tallest Dwarf. Here are the other supporters.