Corrected Message Template

Fixed misplaced endif and added prompt informing users if user’s inbox
is empty