[#52168325] add actionmailer for autoemail but not complete