Add option to email via gmail or other authenticated service.

@lucaddepar Can you take a look at this before I make a PR to the actual branch?