Email Processing Automation, Is it possible? (Sorry, new to this service)

Would it be possible to Automate Email Processing?
A) Filter emails by keywords, B) Recognize & classify the context of the email C) Respond with a template based on classification in step (B)