Extract the method to generate mail body.