now comes the real fix for the mail sender!
decltype is not supported by gcc 4.4.7