check email with tika only if bytes read > 0