So, you want to send an email when you receive a log of a certain type?
That is easily accomplished using Graylog alerts:
Once you have an alert, you can configure an e-mail Notification for that alert:
You then need to configure Graylog2 to connect correctly to your email manager via SMTP.
A discussion that may help you avoid some common caveats:
Hope it helps!