Redirect to template from controller and pass data
You could do this by saving the email address to a custom session variable like this in your controller:

Craft::$app-&gt;getSession()-&gt;set('email', $email);


This should then be available in your template using:

{{ set email = craft.app.session.get('email') }}