attachment counting method to include flag to exclude auto-attached original email