For lifetime see the “expires” parameter. There is currently no way to set the number of attempts per individual message.