uncomment "if ( $need_expansion ) {"
clear result and add info about send emails