Fix to Internal Mail Event error from log file.

Error while getting Internal Mail Event from Log file java.lang.ArrayIndexOutOfBoundsException: 2 java.lang.ArrayIndexOutOfBoundsException: 2.