# NOT RUN {
# configure IMAP
imapconf <- configure_imap(url="imaps://your.imap.server.com",
username="your_username",
password=rstudioapi::askForPassword()
)
# rename mailbox "Sent"
imapconf %>%
select_mailbox(mbox = "Sent") %>%
rename_mailbox(new_name = "Sent Mail")
# }
Run the code above in your browser using DataLab