Groups
Groups

Help for aqua incoming email notification only within inbox

126 views
Skip to first unread message

adam P

unread,
Apr 6, 2020, 9:54:24 AM4/6/20
to Tasker
Hi there,
Looking for help to fix the Tasker incoming notification combine with aqua mail received all mail.
If possible I would like to hear only information about incoming mail within inbox folder only.I would like to eliminate spam and any other unwanted incoming mail information if possible.
Also only reading name of sender in short... not doubling the full name will be nice to correct.
Thank you

My task at the moment looks like this:






WAKE UP DEVICE


Profile: WakeUpDevice (37)
     Event: Notification [ Owner Application:AquaMail, Hangouts, Lite,
WhatsApp, Messages, Phone
    com.android.dialer.DialtactsActivity Title:* Text:* Subtext:*
Messages:* Other Text:* Cat:* New Only:Off ]
    Enter: wakeUpDevice (36)
     A1: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
     A2: Java Function [ Return:pm Class Or Object:CONTEXT
Function:getSystemService
    {PowerManager} (String) Param:power Param: Param: Param: Param: Param:
Param: ]
     A3: Java Function [ Return:wl Class Or Object:pm Function:newWakeLock
    {WakeLock} (int, String) Param:805306394 Param:Tasker Param: Param:
Param: Param: Param: ]
     A4: Java Function [ Return: Class Or Object:wl Function:acquire
    {} () Param: Param: Param: Param: Param: Param: Param: ]
     A5: Java Function [ Return: Class Or Object:wl Function:release
    {} () Param: Param: Param: Param: Param: Param: Param: ]


EMAIL ALERT


Profile: Email Alert (3)
     Event: AquaMail Messages [ Configuration:* ]
    Enter: Email Alert (5)
     A1: Variable Set [ Name:%rcvtxt To:%aqmtext Recurse Variables:Off Do
Maths:Off Append:Off Max Rounding Digits:0 ]
     A2: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
     A3: Say [ Text:You received mail from %aqmfrom
Engine:Voice:default:default Stream:5 Pitch:5 Speed:5 Respect Audio
Focus:On Network:Off Continue Task Immediately:Off ] If [ %aqmspam = 0 ]
     A4: [X] Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
     A5: [X] Say [ Text:Do you want me to read it
Engine:Voice:default:default Stream:5 Pitch:5 Speed:5 Respect Audio
Focus:On Network:Off Continue Task Immediately:Off ]
     A6: [X] Get Voice [ Title: Language Model:Free Form Language: Maximum
Results:1 Timeout (Seconds):30 Hide Dialog:Off ]
     A7: [X] Turn Off [ Dim:Off Lock:Off Continue Task After Error:On ] If
[ %DTOUT Set ]
     A8: [X] Say [ Text:As you wish Engine:Voice:default:default Stream:3
Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task
Immediately:Off ] If [ %VOICE !~ yes ]
     A9: [X] If [ %VOICE ~ yes ]
     A10: [X] Say [ Text:The message are %aqmtext
Engine:Voice:default:default Stream:5 Pitch:5 Speed:5 Respect Audio
Focus:On Network:Off Continue Task Immediately:Off ]









 

João Dias

unread,
Apr 9, 2020, 10:33:25 AM4/9/20
to tas...@googlegroups.com
What exactly is not working about your task?

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias

A Calkowski

unread,
Apr 9, 2020, 8:01:26 PM4/9/20
to Tasker
Hi Joao,
Thanks for contacting me regard my issue.
I would like to have tasker to be able to inform me about incoming mail from within inbox only. Right now it is giving me information from all (spam, deleted folder)
I do not see any option to change that.If you direct me in the right direction please.
Thank you


On Thursday, April 9, 2020 at 10:33:25 AM UTC-4, joaomgcd wrote:
What exactly is not working about your task?.

Scott Miller

unread,
Apr 9, 2020, 10:16:09 PM4/9/20
to tas...@googlegroups.com
Are you using the AquaMail plugin with Tasker, or are you trying to read the notifications? If you use the plugin, AquaMail exposes a variable (%aqmfolder) which indicates the folder the mail is in. You should be able to use this and match on inbox to only notify on those messages. I do not know how well this works, but it seems likely it is the best way to accomplish your request. The plugin is only available with the paid version of AquaMail.

Scott M.

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/a33523b4-066f-4e4d-b01c-1be78041a28b%40googlegroups.com.

A Calkowski

unread,
Apr 10, 2020, 7:21:54 PM4/10/20
to Tasker
(%aqmfolder) I know is there.I do not now the command to use to indicate inbox only notification on those messages.


On Thursday, April 9, 2020 at 10:16:09 PM UTC-4, Scott Miller wrote:
Are you using the AquaMail plugin with Tasker, or are you trying to read the notifications? If you use the plugin, AquaMail exposes a variable (%aqmfolder) which indicates the folder the mail is in. You should be able to use this and match on inbox to only notify on those messages. I do not know how well this works, but it seems likely it is the best way to accomplish your request. The plugin is only available with the paid version of AquaMail.

Scott M.

On Thu, Apr 9, 2020, 8:01 PM A Calkowski <myla...@gmail.com> wrote:
Hi Joao,
Thanks for contacting me regard my issue.
I would like to have tasker to be able to inform me about incoming mail from within inbox only. Right now it is giving me information from all (spam, deleted folder)
I do not see any option to change that.If you direct me in the right direction please.
Thank you


On Thursday, April 9, 2020 at 10:33:25 AM UTC-4, joaomgcd wrote:
What exactly is not working about your task?.

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tas...@googlegroups.com.

Scott Miller

unread,
Apr 11, 2020, 11:24:45 PM4/11/20
to tas...@googlegroups.com
%aqmfolder is a variable. You need to use pattern matching as described in the Tasker userguide to match the contents of the variable with the name of the folder. My assumption is that this name should be inbox. So you need to do something  like this: 

if %aqmfolder ~ inbox 
   do something
end if

There are two types of this variable. %aqmfolder should contain the name of the folder for the most recent email received. But if you get a lot of email at the same time, then you need to use the array form of this variable, %aqmfolder() and cycle through everything to find the email from the inbox. You said you didn't want to see spam emails. That will depend on whether or not your email server is moving those messages to a different folder before you receive them on your phone. Tasker cannot tell the difference between a good email and a spam email.

One other thing. Are you aware that you can configure AquaMail to NOT sync certain folders? That could achieve the same result, but it also depends on the mail server filtering your spam email and placing it in the junk folder.

Scott M.


To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/1ae3d2e8-e45f-43a7-ae3a-51acb75f7b52%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages
Search
Clear search
Close search
Google apps
Main menu