Updating to the new mailer api
centering the gallery