Lower case function for Lead email field

Lower case function for Lead email field

Hi, 
When a Lead is created from the email parsing method we want to keep the Email field in Lower Case text. 
we know how to create the function but we write something wrong.
Is there somewhere or someone to post it here?