adding a method to capture the email upload json