mail sensor fix