add gnutls to path for email
try setting inline image size
fine tuning the code