I am helping re-code a website that allows teachers to text message/email their students about upcoming new/assignments. Students can subscribe to their teacher's notifications by texting/emailing a flag to the inbox.
How would I go about watching these inbox's for incoming messages, to then flag php procedures (using cpanel scripts to interact with the email system)?
*If any more information is needed from me to make this more clear, please post.