}
public ActionForward sendEmailToCandidates(final ActionMapping mapping, final ActionForm actionForm,
final HttpServletRequest request, final HttpServletResponse response) throws IOException {
final OutboundMobilityCandidacyPeriod period = getDomainObject(request, "candidacyPeriodOid");
final OutboundMobilityCandidacyContestGroup mobilityGroup = getDomainObject(request, "mobilityGroupOid");
final String toGroupName =
BundleUtil.getString(Bundle.ACADEMIC, "label.send.email.to.candidates.group.to.name",
mobilityGroup.getDescription(), period.getExecutionInterval().getName());
final Group group = UnionGroup.of(getCandidateGroups(mobilityGroup, period));
final Recipient recipient = Recipient.newInstance(toGroupName, group);
final EmailBean bean = new EmailBean();
bean.setRecipients(Collections.singletonList(recipient));