Set Universal Email to redirect to a thank you page after sending the email and place you plash animation on that page.
on the thank you page, you can add a meta refresh tag to go back to the index page after 5 seconds:
<meta http-equiv="refresh" content="5; URL=index.php">