Excel validation in Email

Hi

I want to check that the email attachment should be in .xlsx format and the attachment should not be more than 1.

please help