I’m trying to write a mailer daemon of sorts. Here, I’m trying to look through every email received in some inbox by searching through the message body for a certain keyword. If the keyword was mentioned, an appropriate response is sent.
The action mailer guide is quite useful:
"1. Implement a
receive method in our mailer.
- Configure your email server to forward emails from the address(es) you would like your app to receive to
But I’m not sure how to do the second part: the email I’m dealing with is a Gmail account. How does this work?