[PERF] Avoid calling Session::getAttachment on each SMTP line

2% of the memory allocation was spent doing this.
1 file changed