Fix profile confirmation link and add text email template.