SELECT * FROM email_address WHERE email = '#sender_email#' INSERT INTO email_address (email, type) VALUES ('#sender_email#' , 'unregistered_user_referrer') SELECT * FROM email_address WHERE email = '#sender