store data in dyanamodb and send results via email