moved email sending to an async request started from the browser
added test and method to get base64 version of image
instead of making a request for each image, put the base64 version of each image into the page
fixed wrong xpath query for tweet finding