found and fixed bug in the autogenerate email filter