Register email override filter declaratively.

#3965