correctly extracts Google Mail thread ID