
import sys
sys.path.insert(0, "/opt/data/skills/email/himalaya/scripts")
from imap_send import send
mid = send(
    mailbox="yahoo",
    to="Ushananthini Thanapalan <ushananthini@invictus.edu.sg>",
    cc=["rachna.sharma@invictus.edu.sg", "evelyn.chiah@invictus.edu.sg"],
    subject="Re: Request to excuse Elize from Beijing Overseas Trip",
    body='Dear Ms Usha,\n\nThank you for your email and for taking the time to explain the school’s position.\n\nAfter considering this carefully, I am afraid we will not be able to allow Elize to attend the Beijing trip if she is not permitted to carry her mobile phone with her at all times.\n\nAs parents, this is a safety concern for us, especially as the trip is overseas. In a foreign country, there may be situations where she could get lost, separated from the group, or need urgent help while alone. Without access to her phone, the situation could become very serious, and we are not comfortable taking that risk.\n\nFor this reason, we have decided not to let Elize go for the trip.\n\nI would also like to respectfully share that perhaps for future trips, the no-phone requirement could be communicated more strongly to parents before sign-up. If we had known earlier that students would not be allowed to carry their phones with them, we would likely have chosen not to register Elize for the trip.\n\nThank you again for your time, understanding, and assistance throughout this matter.\n\nKind regards,\nVincent Emmanuel Lee\n',
    in_reply_to="<CAB5SNQq_0+tHPdXUR9UWCDQNU=Wp6-Sin_xfUe-jWcV0ErSiOg@mail.gmail.com>",
    from_name="Vincent Emmanuel Lee",
    flag_answered_uid="9976",
)
print("SENT_MESSAGE_ID", mid)
