Empty attribute on the target system then customize the attribute on One Identity

Hello,
I made a connector for a CSV file to manage internal users from HR. I did the mapping for some attributes like first name, last name, email etc.
How can I set a customized email (ex. FirstName.LastName@email.com) if the email attribute on the csv target system is empty?
Thank you