Fix error email sender
Fix import bug