fixed bug in determining sent numbers in email service