Email reply for those emails who have an attachment only. 

  • 3 December 2023
  • 2 replies

Badge +5

Hi, does anyone know how to send an email reply for those emails who have an attachment only. Thanks!


Best answer by Abhay Naik 3 December 2023, 15:28

View original

2 replies

Userlevel 3
Badge +7

Hi @Shusha321,


You can use the loop trough each email and store the output in the dictionary variable. Then use “emailNoOfAttachments” key to retrieve number of attachments in each email. If there us no attachment and you’ll get output as 0 and if there are attachments then it will give you number of attachments. You can then use if condition where attachment is not equal to 0 and send the reply.


Hope this helps!

Badge +5

Thank you for this @Abhay Naik I successfully run the taskbot. :)