client side trigger email