fix: issue on emails with multiple received lines, only one line in output was correct