Issue #1287474 by joachim: Don't show 'resend emails' action on the submission when there are no emails.