Build a small "phone steering" mechanism in this working folder, with made-up trial messages only: no real mailbox, no network,
nothing sent. It reads short messages and understands a few words: pause, resume, stop, status, and "do" plus an assignment.
Pause and stop become marker files that an agent can look for before every task.

Limits: a message counts only if the sender is on my list and the mail server confirmed the sender; each message is carried out
once.

Include trial messages from a stranger and with a failed confirmation, and show me a log that says per message what was done or
why it was ignored.
