# Use a Template ```rust use mailjet_api_wrapper::{ data::{EmailAddress, Message}, requests::SendRequest, Mailjet, }; // Create mailjet client let mailjet = Mailjet::from_api_keys("your_key", "your_secret"); // Create recipients let to = EmailAddress::from_email("passenger1@mailjet.com"); let from = EmailAddress::from_email_and_name("pilot@mailjet.com", "Mailjet Pilot"); // Create message let mut message = Message::default(); message.to.push(to); message.from = from; message.template_id = Some(1); message.template_language = Some(true); message.subject = "Your email flight plan!".to_string(); // Create send request let mut send_request = SendRequest::default(); send_request.sandbox_mode = Some(true); // You can remove this when sending for real send_request.messages.push(message); // Send emails let response = mailjet.send(&send_request).unwrap(); ```