Added exception handling to inbound mail handler
Improvements to snippet ui