added suport for sending precomposed messages