Getting the text or the subject of an email using MailTask plugin

RobertG

New member
Hello, I spent a lot of hours trying to get the subjet of an email received in my gmail mail box but without any success. Unfortunately MailTask documentation is not far from inexistent.
I use Get Action wich calls MailTask plugin but this ends up with an uncomprehensive sequence of panels.
I already had a look to this forum but I did not found any thread on how to get the text or even the subject of a received email: I only found an answer saying that we must use Get Action but nothing else.

Could someone give me a working example showing how to get the content of a message using this plugin followed for instance by a notification with, for example, only the subject of it ?

Thanks
 
Last edited:

Dimlos

Well-known member
I can't share the macro I set up because account information is involved, but I am able to get the subject and body normally with MailTask.

1. Select an account with the From magnifying glass.
2. Tap the check box above.
3. Set variables.

Test the macro in the test action. At first you will get a dialog for authentication, so please allow it.
 

Attachments

  • macro.jpg
    macro.jpg
    420.7 KB · Views: 35
  • MailTask.jpg
    MailTask.jpg
    212.6 KB · Views: 34
  • Variables.jpg
    Variables.jpg
    228.9 KB · Views: 35

antjmon

New member
I cannot for the life of me get this to work on macrodroid. But does fine in tasker. It just simply doesn't populate the variables.
 

Dimlos

Well-known member
It still works in my environment, I think it is due to some environment or setting, but I don't know the cause.
MacroDoid v5.30.7 Pro / Android 12 / OPPO Reno5 A
 
Top