Implemented support for email filter (WIP)