Now correctly detects the email vm file