export sendDynamicEmail