Updated code. Allow zoom and send via email