Actually, thinking about it more, that more verbose check is probably needed. It is possible for a full HTML email to come in and for whatever reason an empty text part. The code would pull that out as an empty string and you'd get an empty body instead of the HTML.