Active Directory Password age report and email alert generation using Uptime

Is there a way to check AD user password age and generate email alert based on set age value?