# This script email users basing on their password expiration dates # User input variables…