Added CORE_MAILACTION param (closes #3651)