How Can I generate a payslip or salary slip to email it to the employees

How Can I generate a payslip or salary slip to email it to the employees

I want to send the payslip every month to the employees to show them their earning for the months and if there are deductions, how can I do that