The Tallest Dwarf

RSSEmailTwitterGitHubDribbbleLinkedInFacebookInstagramYouTubePinterestReddit icon

Send and receive WhatsApp messages through email

Posted at — Jan 12, 2021 by Abishek Muthian

warning: Sending and receiving messages from WhatsApp through email would bypass the end-to-end encryption and may leak data to the email providers. If your reason for reading this is for better data security, then this is 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'.

WhatsApp to Email

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

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

  1. a. Configure 'Send email' task.

  1. b. Configure MailTask.

Email to WhatsApp

  1. Select 'Autonotification Intercept' event.

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

  1. Select 'Contact Via App' task.

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

Demo

Gif 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.