Code to place in lambda so that python exceptions and errors will be emailed to you with sufficient details