For the first problem, the easy fix that I see is make the split of the name as you are doing it and take the first and last element of it ([0] and [-1]) for the first and last name.
For the problem number three, it does only mean that smtp_status is False and email is not found in google so check with existing email your function to see if the functions works one by one