You have to open the Viber app. Go to Settings >> Calls and Messages >> Tap on Email message history >> Enter your email address on the compose mail sheet and tap Send option. Your messages will be sent to your mail address.