Debug mail blocking hook