The second is better
A some reasons:
- Always give the better experience to user. Use more that simple text, use a design for thanks-section.
- Focusing in use graphs, icons, vectors and so on, for be more memorable moment. Better experience of any result.
- Give to Users possibility of keep browsing your website “Go to home“, is a example.
- Remember to Users in which email you sent the mail.