New decorator for important function like sendmail