changed the delivery method for emails