email-demo works (bug fixed)