SMTP/socket timeout adjustment and additional logging