Detecting on the Python script side if there are actual recipients
for the message rather than letting the smtp lib trow an exception.