LUASTATUS-PLUGIN-IMAP(7)
πΈ NAME πΈ
luastatus-plugin-imap β the IMAPv4 plugin for luastatus, bestie. π And just so you know, this page lives in the Miscellaneous Information Manual (folding that in right here instead of copying the header line, slay).
π¦ OVERVIEW π¦
Okay so this derived plugin literally monitors the number of unread mails in an IMAP mailbox. That's the whole vibe β main character energy for your inbox. π π¬
π FUNCTIONS π
widget(tbl)
Constructs a widget table that luastatus requires. tbl is a table with the following fields:
(required) β no skips allowed, bestie π₯
cb: function β the callback that will be called with the number of unread mails, or withnilif it is unknown.host: string β host name.port: number β port number.login,password: strings β your credentials (guard these with your life π«Ά).mailbox: string β mailbox name (typically"Inbox").error_sleep_period: number β number of seconds to sleep after an error.
(optional) β the little extras, we love π
use_ssl: boolean β whether to use SSL (you probably should set it totrue). Defaults tofalse.verbose: boolean β whether to be verbose (useful for troubleshooting). Default tofalse.timeout: number β idle timeout, in seconds, after which to reconnect; you probably want to set this to something like5 * 60.handshake_timeout: number β SSL handshake timeout, in seconds.eventβ the event entry of the resulting table (see luastatus documentation for the description ofwidget.eventfield).
π COPYRIGHT π
LGPLv3. Periodt. π«Ά
Okay that's the whole page, bestie β the footer's source/version is luastatu...ugin-imap(7) and the date isn't listed on this one, so that's your cute little mystery vibe. πβ¨
π¦ where this page comes from
- nixos 26.05: luastatus 0.6.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms