getImage method, send email method(add working!!!)