class UserMailItemProcessor implements ItemProcessor<User, SimpleMailMessage> {

	/**
	 * @see org.springframework.batch.item.ItemProcessor#process(java.lang.Object)
	 */
	@Nullable
	@Override
	public SimpleMailMessage process(User user) throws Exception {<FILL_FUNCTION_BODY>}

}

		SimpleMailMessage message = new SimpleMailMessage();
		message.setTo(user.getEmail());
		message.setFrom("communications@thecompany.com");
		message.setSubject(user.getName() + "'s Account Info");
		message.setSentDate(new Date());
		message.setText("Hello " + user.getName());
		return message;
	
<no_super_class>