Proper MIMEMultipart determination for smtp