Hi Nicholas,
I was wondering if we could add a "delete" function to the poll mailbox trigger. I have a build that's scheduled to read a particular email for Oracle Database Refreshes and everytime the schedule runs around, it re-runs the build even though the email is marked "read".
### Steps to reproduce
How can we reproduce the issue
1. Create Build
2. Set Schedule
3. Send trigger email to box. Once it arrives, you'll see it as "unread". The job will run, mark the email as "read", but it will still continue subsequent builds :(
### Expected behaviour
I expected the build to run once, then not build again after marked read.
### Actual behaviour
Build runs regardless of email status. Will continue to run until I delete the email.
### Server configuration
**Operating system**:
Oracle Enterprise Linux 6
**Jenkins Version**:
1.651.3
**Plugin Version**:
1.023
**Mail Server**:
Exchange
### Additional Steps/Questions
N/A