Changed updateEmailPropFile() to a static method.