Sending emails

Added sending emails capabiltiy, need to work on sending properly
formatted html tables instead of relying on tab separated plain text