pull_and_build: use sendmail
project generator simple/linux:  compile in release mode instead of debug.

Closes #2535.
Merge pull request #2536 from bilderbuchi/fix-2535

project generator simple/linux:  compile in release mode instead of debug