provide a flag to trace SMTP exchange

I found it useful to be able to trace what was going on, so provided this quick and (hopefully not too) dirty fix adding a flag to `sendGmail` function.