How can i ignore reply and forward mail message and take only the first mail message and its attachment

Hi, i will receive an email with one attachment but that mail may got reply from other people and got different attachment. So i need to take only first mail which is sent to me and ignore all the other reply and forwards. Could you help me build this?

  1. Whenever you get any reply, normally, you get RE: < Mail Subject > format.
    One of the simpler solution can be to check the subject line which does not start with RE: and has the required subject line.
    The other stuff wherein you download the attachment from an email can be done via regular steps.

  2. To make the solution more robust, the attachment name can be checked, this re-verifies if the file which bot has downloaded needs to be considered or not.

1 Like

Thank you Mr. Ayush :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.