added send_transactional_template function