add handlers and mailers